diff options
Diffstat (limited to 'contrib/ncurses/tack/sysdep.c')
-rw-r--r-- | contrib/ncurses/tack/sysdep.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/contrib/ncurses/tack/sysdep.c b/contrib/ncurses/tack/sysdep.c index 2537657..d8b4802 100644 --- a/contrib/ncurses/tack/sysdep.c +++ b/contrib/ncurses/tack/sysdep.c @@ -24,16 +24,19 @@ * global has no effect. */ -#if defined(__BEOS__) -#include <OS.h> -#endif +#include <signal.h> /* include before curses.h to work around glibc bug */ #include <tack.h> -#include <signal.h> #include <term.h> #include <errno.h> +#if defined(__BEOS__) +#undef false +#undef true +#include <OS.h> +#endif + #if HAVE_SELECT #if HAVE_SYS_TIME_H && HAVE_SYS_TIME_SELECT #include <sys/time.h> @@ -43,7 +46,7 @@ #endif #endif -MODULE_ID("$Id: sysdep.c,v 1.9 2000/09/02 19:17:39 tom Exp $") +MODULE_ID("$Id: sysdep.c,v 1.11 2002/04/21 19:40:43 tom Exp $") #if DECL_ERRNO extern int errno; |