X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fdemo_terminfo.c;h=2ee5b4c40857a64e9ab831da6a0ee3c46ee2c23d;hp=23e12a4a9974ce9c72de98ab73f50fd62c0b37b1;hb=da5e7c6148aa378da9d8da09be73e0ddd3995c6f;hpb=52aa842907b31bb56fb5133da3f023b45bd4355f diff --git a/test/demo_terminfo.c b/test/demo_terminfo.c index 23e12a4a..2ee5b4c4 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.8 2010/11/13 20:51:50 tom Exp $ + * $Id: demo_terminfo.c,v 1.9 2010/11/28 00:15:27 tom Exp $ * * A simple demo of the terminfo interface. */ @@ -37,6 +37,10 @@ #include #ifdef NCURSES_VERSION +#if !(defined(HAVE_TERM_ENTRY_H) && HAVE_TERM_ENTRY_H) +#undef NCURSES_XNAMES +#define NCURSES_XNAMES 0 +#endif #if NCURSES_XNAMES #include #endif