aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/040_gnukfreebsd-ftbfs-fix.patch
blob: 8398f4dae31b6a8db1b496679e0e6c58aea44123 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/terms.c
+++ b/terms.c
@@ -26,7 +26,7 @@
 #endif				/* USE_GPM */
 #ifdef USE_SYSMOUSE
 #include <osreldate.h>
-#if (__FreeBSD_version >= 400017)
+#if (__FreeBSD_version >= 400017) || (__FreeBSD_kernel_version >= 400017)
 #include <sys/consio.h>
 #include <sys/fbio.h>
 #else