aboutsummaryrefslogtreecommitdiffstats
path: root/src/ncu.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-06 16:03:24 +0200
committerMax Kellermann <max@duempel.org>2008-10-06 16:03:24 +0200
commit8736e490253e08ed36ddeed8d572a39a450a88b4 (patch)
tree590c6e09dddde2fe4f15104fcdf98a70b5be5550 /src/ncu.c
parent003f90586c1eab5f17cdc85bf0fc43e5f2a170ec (diff)
downloadmpd-8736e490253e08ed36ddeed8d572a39a450a88b4.tar.gz
mpd-8736e490253e08ed36ddeed8d572a39a450a88b4.tar.xz
mpd-8736e490253e08ed36ddeed8d572a39a450a88b4.zip
include ncursesw/ncurses.h if available
When compiling with libncursesw, include <ncursesw/ncurses.h> instead of <ncurses.h> (if available).
Diffstat (limited to '')
-rw-r--r--src/ncu.c4
1 files changed, 4 insertions, 0 deletions
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 <ncursesw/ncurses.h>
+#else
#include <ncurses.h>
+#endif
void
ncu_init(void)