[PATCH] curses: remove hard-wired ncursesw include path

Gergely Imreh imrehg at gmail.com
Wed Jun 24 11:52:56 CEST 2015

* pinentry/pinentry-curses.c: pkg-config finds the correct include
paths so should not hard-wire the path for the ncursesw header file.


Tested it with Buildroot, where the pinentry build fails due to the
fixed ncursesw header. See for example autobuilder results at

 pinentry/pinentry-curses.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/pinentry/pinentry-curses.c b/pinentry/pinentry-curses.c
index 784c770..659fa47 100644
--- a/pinentry/pinentry-curses.c
+++ b/pinentry/pinentry-curses.c
@@ -22,11 +22,7 @@
 #include <config.h>
 #include <assert.h>
-#include <ncursesw/curses.h>
 #include <curses.h>
 #include <signal.h>
 #include <fcntl.h>
 #include <unistd.h>

More information about the Gnupg-devel mailing list