fix version check logic for FreeBSD

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493486
This commit is contained in:
Ito Hiroyuki
2010-07-18 13:31:24 +00:00
parent 57fb8a745d
commit 9345b62da9
2 changed files with 6 additions and 4 deletions

View File

@@ -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