bsd: OpenBSD and NetBSD not need extra headers in PCVT_SUPPORT
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com> Tested-by: Matthieu Herrb <matthieu.herrb@laas.fr>
This commit is contained in:
		
							parent
							
								
									86eaa9bbe4
								
							
						
					
					
						commit
						91042b98af
					
				|  | @ -277,20 +277,14 @@ | ||||||
| #     include <sys/console.h> | #     include <sys/console.h> | ||||||
| #    endif | #    endif | ||||||
| #   endif /* SYSCONS_SUPPORT */ | #   endif /* SYSCONS_SUPPORT */ | ||||||
| #   if defined(PCVT_SUPPORT) | #   if defined(PCVT_SUPPORT) && !defined(__NetBSD__) && !defined(__OpenBSD__) | ||||||
| #    if !defined(SYSCONS_SUPPORT) | #    if !defined(SYSCONS_SUPPORT) | ||||||
|       /* no syscons, so include pcvt specific header file */ |       /* no syscons, so include pcvt specific header file */ | ||||||
| #     if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) | #     if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) | ||||||
| #      include <machine/pcvt_ioctl.h> | #      include <machine/pcvt_ioctl.h> | ||||||
| #     else | #     else | ||||||
| #      if defined(__NetBSD__) || defined(__OpenBSD__) | #      include <sys/pcvt_ioctl.h> | ||||||
| #       if !defined(WSCONS_SUPPORT) | #     endif /* __FreeBSD_kernel__ */ | ||||||
| #        include <machine/pcvt_ioctl.h> |  | ||||||
| #       endif /* WSCONS_SUPPORT */ |  | ||||||
| #      else |  | ||||||
| #       include <sys/pcvt_ioctl.h> |  | ||||||
| #      endif /* __NetBSD__ */ |  | ||||||
| #     endif /* __FreeBSD_kernel__ || __OpenBSD__ */ |  | ||||||
| #    else /* pcvt and syscons: hard-code the ID magic */ | #    else /* pcvt and syscons: hard-code the ID magic */ | ||||||
| #     define VGAPCVTID _IOWR('V',113, struct pcvtid) | #     define VGAPCVTID _IOWR('V',113, struct pcvtid) | ||||||
|       struct pcvtid { |       struct pcvtid { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue