From 7983e026a63fec01021f2108f21165ab70a28283 Mon Sep 17 00:00:00 2001 From: Angel Ortega Date: Tue, 5 May 2009 17:58:28 +0200 Subject: [PATCH] Use ncursesw/ncurses.h in *all* tests of config.sh. --- config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.sh b/config.sh index e32b376..78e8004 100755 --- a/config.sh +++ b/config.sh @@ -224,7 +224,7 @@ if [ "$WITHOUT_CURSES" != "1" ] ; then # test for transparent colors in curses echo -n "Testing for transparency support in curses... " - echo "#include " > .tmp.c + echo "#include " > .tmp.c echo "int main(void) { initscr(); use_default_colors(); endwin(); return 0; }" >> .tmp.c $CC $TMP_CFLAGS .tmp.c $TMP_LDFLAGS -o .tmp.o 2>> .config.log @@ -239,7 +239,7 @@ if [ "$WITHOUT_CURSES" != "1" ] ; then echo -n "Testing for wget_wch()... " echo "#include " > .tmp.c - echo "#include " >> .tmp.c + echo "#include " >> .tmp.c echo "int main(void) { wchar_t c[2]; initscr(); wget_wch(stdscr, c); endwin(); return 0; }" >> .tmp.c $CC $TMP_CFLAGS .tmp.c $TMP_LDFLAGS -o .tmp.o 2>> .config.log -- 2.11.4.GIT