mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
88f9a9e1d6
-current. patch-r and patch-s come from the XFRee86-4 port, another patch is required here for scanpci.c (patch-q, submitted by Donald J. Maddox <dmaddox@sc.rr.com>)
22 lines
613 B
Plaintext
22 lines
613 B
Plaintext
--- programs/Xserver/hw/xfree86/SuperProbe/OS_386BSD.c.ORIG Mon Nov 27 14:29 :12 2000
|
|
+++ programs/Xserver/hw/xfree86/SuperProbe/OS_386BSD.c Mon Nov 27 14:37:03 2000
|
|
@@ -83,7 +83,17 @@
|
|
# endif
|
|
# ifdef SYSCONS_SUPPORT
|
|
/* both, Free and NetBSD have syscons */
|
|
-# include <machine/console.h>
|
|
+# if defined(__FreeBSD__)
|
|
+# include <osreldate.h>
|
|
+# if __FreeBSD_version >= 410000
|
|
+# include <sys/consio.h>
|
|
+# include <sys/kbio.h>
|
|
+# else
|
|
+# include <machine/console.h>
|
|
+# endif
|
|
+# else
|
|
+# include <machine/console.h>
|
|
+# endif
|
|
# endif
|
|
# else
|
|
# ifdef CODRV_SUPPORT
|