From 8736e490253e08ed36ddeed8d572a39a450a88b4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 6 Oct 2008 16:03:24 +0200 Subject: include ncursesw/ncurses.h if available When compiling with libncursesw, include instead of (if available). --- src/ncu.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ncu.c') diff --git a/src/ncu.c b/src/ncu.c index 1ade90b40..c31f97d6b 100644 --- a/src/ncu.c +++ b/src/ncu.c @@ -26,7 +26,11 @@ #include "options.h" #endif +#ifdef HAVE_NCURSESW_NCURSES_H +#include +#else #include +#endif void ncu_init(void) -- cgit v1.2.3