X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fdemo_termcap.c;h=e252d1d9814400f1c75dc49547eb2223c5a9ee2a;hp=e1ce0cda219a5e784b7f4c1d0c0c3df904206faf;hb=d66080c21038ad4feb2e41a0c4e517d5b4a03ab2;hpb=5d8dbcdd9423bf9821db414fd9ec792ccf1f1027 diff --git a/test/demo_termcap.c b/test/demo_termcap.c index e1ce0cda..e252d1d9 100644 --- a/test/demo_termcap.c +++ b/test/demo_termcap.c @@ -29,7 +29,7 @@ /* * Author: Thomas E. Dickey * - * $Id: demo_termcap.c,v 1.55 2017/09/04 13:28:44 tom Exp $ + * $Id: demo_termcap.c,v 1.56 2017/12/26 22:41:47 tom Exp $ * * A simple demo of the termcap interface. */ @@ -46,7 +46,7 @@ #endif #endif -#ifdef NCURSES_VERSION +#if defined(NCURSES_VERSION) && HAVE_TERMCAP_H #include #endif