X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fdemo_terminfo.c;h=239739a47a8f36ac5fedf05d932d257677070df2;hp=aea3289891855f698514d9010229bce1038540dc;hb=d129a54c07c01d853ead291e5bef7fe978094f2d;hpb=b802d89ac4a8abdc19fd39ec9bdc9a300c3dd181 diff --git a/test/demo_terminfo.c b/test/demo_terminfo.c index aea32898..239739a4 100644 --- a/test/demo_terminfo.c +++ b/test/demo_terminfo.c @@ -29,7 +29,7 @@ /* * Author: Thomas E. Dickey * - * $Id: demo_terminfo.c,v 1.18 2013/09/07 17:37:20 tom Exp $ + * $Id: demo_terminfo.c,v 1.19 2013/09/28 21:50:01 tom Exp $ * * A simple demo of the terminfo interface. */ @@ -37,7 +37,12 @@ #include #if NCURSES_XNAMES +#if HAVE_TERM_ENTRY_H #include +#else +#undef NCURSES_XNAMES +#define NCURSES_XNAMES 0 +#endif #endif #if HAVE_TIGETSTR