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/wreadln.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/wreadln.h') diff --git a/src/wreadln.h b/src/wreadln.h index e1efe1c50..e1ac67318 100644 --- a/src/wreadln.h +++ b/src/wreadln.h @@ -1,8 +1,15 @@ #ifndef WREADLN_H #define WREADLN_H +#include "config.h" + #include + +#ifdef HAVE_NCURSESW_NCURSES_H +#include +#else #include +#endif /* completion callback data */ extern void *wrln_completion_callback_data; -- cgit v1.2.3