commit c21ec3abde7a46b412e253899358b93d9a6e0e4f
parent d8cf1d2c22a6a11264586203426ce1f117572665
Author: htrb <htrb>
Date: Sun, 18 Jul 2010 13:31:24 +0000
fix version check logic for FreeBSD
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493486
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,7 +1,9 @@
-2010-07-18 d+w3m@vdr.jp
+2010-07-18 d+w3m@vdr.jp
* [w3m-dev 04319] Re: w3m's bugs from bugs.debian.org
* doc/w3m.1: fix typo.
* doc-jp/w3m.1: update
+ * terms.c: fix version check logic for FreeBSD
+ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493486
2007-06-07 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
diff --git 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