aboutsummaryrefslogtreecommitdiffstats
path: root/terms.c
diff options
context:
space:
mode:
authorIto Hiroyuki <ZXB01226@nifty.com>2010-07-18 13:31:24 +0000
committerIto Hiroyuki <ZXB01226@nifty.com>2010-07-18 13:31:24 +0000
commit9345b62da99517d3e8ec111e8eb9cf2025be204d (patch)
treee5570c9d0145e0bd3e8d934fa34a655249cdcf1b /terms.c
parentupdate. (diff)
downloadw3m-9345b62da99517d3e8ec111e8eb9cf2025be204d.tar.gz
w3m-9345b62da99517d3e8ec111e8eb9cf2025be204d.zip
fix version check logic for FreeBSD
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493486
Diffstat (limited to '')
-rw-r--r--terms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/terms.c b/terms.c
index 71e6701..b592e55 100644
--- a/terms.c
+++ b/terms.c
@@ -1,4 +1,4 @@
-/* $Id: terms.c,v 1.58 2007/06/07 10:54:10 inu Exp $ */
+/* $Id: terms.c,v 1.59 2010/07/18 13:31:24 htrb Exp $ */
/*
* An original curses library for EUC-kanji by Akinori ITO, December 1989
* revised by Akinori ITO, January 1995
@@ -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