curses: remove hard-wired ncursesw include path
authorGergely Imreh <imrehg@gmail.com>
Wed, 24 Jun 2015 09:52:56 +0000 (09:52 +0000)
committerNeal H. Walfield <neal@gnu.org>
Wed, 24 Jun 2015 12:29:36 +0000 (14:29 +0200)
* pinentry/pinentry-curses.c: pkg-config finds the correct include
paths so should not hard-wire the path for the ncursesw header file.

pinentry/pinentry-curses.c

index 784c770..659fa47 100644 (file)
 #include <config.h>
 #endif
 #include <assert.h>
-#ifdef HAVE_NCURSESW
-#include <ncursesw/curses.h>
-#else
 #include <curses.h>
-#endif
 #include <signal.h>
 #include <fcntl.h>
 #include <unistd.h>