X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fterminal%2Fterminal.c;h=7360b892ca7c6051a200798da7179f21590aaffd;hb=85eeaccf1a92aef8a6b4766c2160e02b14d8ec57;hp=9f371821f95436b1c24a9c13b286ca6c627d8aa6;hpb=f7acd4036d1ec78dddfe781656d88ce273474246;p=pspp-builds.git diff --git a/src/ui/terminal/terminal.c b/src/ui/terminal/terminal.c index 9f371821..7360b892 100644 --- a/src/ui/terminal/terminal.c +++ b/src/ui/terminal/terminal.c @@ -46,7 +46,7 @@ terminal_init (int **view_width_p, int **view_length_p) of this file because curses.h redefines "bool" on some systems (e.g. OpenBSD), causing declaration mismatches with functions that have parameters or return values of type "bool". */ -#if HAVE_LIBNCURSES +#if LIBNCURSES_USABLE #include #include #endif @@ -56,7 +56,7 @@ terminal_init (int **view_width_p, int **view_length_p) void terminal_check_size (void) { -#if HAVE_LIBNCURSES +#if LIBNCURSES_USABLE if (getenv ("TERM") != NULL) { char term_buffer [16384];