diff options
author | Yorhel <git@yorhel.nl> | 2019-04-15 09:31:47 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-04-15 09:31:49 +0200 |
commit | eac34241a43d1169c124998ca1a9a9f3f14d795b (patch) | |
tree | 6c32a236277ac9d3fd80b07296610ccfda2d7f34 /src | |
parent | 16466392884a623fd93907f4d1071211e8ba48a4 (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.h | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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 |