summaryrefslogtreecommitdiffstats
path: root/x11-servers/XttXF86srv-common/files/patch-s
blob: 3697f7b18ac3aea26c73aee827276a24864106fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- 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
OpenPOWER on IntegriCloud