summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-04-15 09:31:47 +0200
committerYorhel <git@yorhel.nl>2019-04-15 09:31:49 +0200
commiteac34241a43d1169c124998ca1a9a9f3f14d795b (patch)
tree6c32a236277ac9d3fd80b07296610ccfda2d7f34 /src
parent16466392884a623fd93907f4d1071211e8ba48a4 (diff)
Make sure to use NCURSES_CFLAGS and include the right file
The previous #ifdef's relied on the old ncurses header file detection in configure.ac, but that's now been replaced with pkg-config.
Diffstat (limited to 'src')
-rw-r--r--src/ncdc.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/ncdc.h b/src/ncdc.h
index 1e61bba..2fd4d4f 100644
--- a/src/ncdc.h
+++ b/src/ncdc.h
@@ -69,14 +69,10 @@
#include <gnutls/crypto.h>
#endif
+#ifndef _XOPEN_SOURCE_EXTENDED
#define _XOPEN_SOURCE_EXTENDED
-#ifdef HAVE_NCURSESW_NCURSES_H
-#include <ncursesw/ncurses.h>
-#elif HAVE_NCURSES_NCURSES_H
-#include <ncurses/ncurses.h>
-#else
-#include <ncurses.h>
#endif
+#include <ncurses.h>
// GnuTLS / libgcrypt functions