aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--terms.c4
2 files changed, 6 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index ff10cfb..18bd32c 100644
--- 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>
@@ -8938,4 +8940,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.1003 2010/07/18 13:24:03 htrb Exp $
+$Id: ChangeLog,v 1.1004 2010/07/18 13:31:24 htrb Exp $
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