freebsd-ports/editors/biew/files/patch-af

15 lines
402 B
Text
Raw Normal View History

--- biewlib/sysdep/generic/unix/keyboard.c.orig Mon Apr 29 15:26:59 2002
+++ biewlib/sysdep/generic/unix/keyboard.c Mon Apr 29 15:28:12 2002
@@ -41,7 +41,11 @@
#endif
#ifdef _CURSES_
+#if defined(__FreeBSD_version) && __FreeBSD_version < 400010
+#include <ncurses/curses.h>
+#else
#include <curses.h>
+#endif
#if defined(NCURSES_MOUSE_VERSION) && !defined(HAVE_MOUSE)
#define HAVE_MOUSE
#endif