diff options
author | Alexandr Shadchin <Alexandr.Shadchin@gmail.com> | 2011-08-27 00:47:34 +0600 |
---|---|---|
committer | Alexandr Shadchin <Alexandr.Shadchin@gmail.com> | 2011-09-29 23:05:35 +0600 |
commit | 91042b98afdc6cecc746e101a88f79e56db1c0d0 (patch) | |
tree | 8ff50d72340cd704e22e1cc2a267d55a4a14c866 | |
parent | 86eaa9bbe4ed59f89d6509d5e13211ab7f5a8038 (diff) |
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>
-rw-r--r-- | hw/xfree86/os-support/xf86_OSlib.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/hw/xfree86/os-support/xf86_OSlib.h b/hw/xfree86/os-support/xf86_OSlib.h index cf928212c..fddde8ad1 100644 --- a/hw/xfree86/os-support/xf86_OSlib.h +++ b/hw/xfree86/os-support/xf86_OSlib.h @@ -277,20 +277,14 @@ # include <sys/console.h> # endif # endif /* SYSCONS_SUPPORT */ -# if defined(PCVT_SUPPORT) +# if defined(PCVT_SUPPORT) && !defined(__NetBSD__) && !defined(__OpenBSD__) # if !defined(SYSCONS_SUPPORT) /* no syscons, so include pcvt specific header file */ # if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) # include <machine/pcvt_ioctl.h> # else -# if defined(__NetBSD__) || defined(__OpenBSD__) -# if !defined(WSCONS_SUPPORT) -# include <machine/pcvt_ioctl.h> -# endif /* WSCONS_SUPPORT */ -# else -# include <sys/pcvt_ioctl.h> -# endif /* __NetBSD__ */ -# endif /* __FreeBSD_kernel__ || __OpenBSD__ */ +# include <sys/pcvt_ioctl.h> +# endif /* __FreeBSD_kernel__ */ # else /* pcvt and syscons: hard-code the ID magic */ # define VGAPCVTID _IOWR('V',113, struct pcvtid) struct pcvtid { |