aboutsummaryrefslogtreecommitdiffstats
path: root/src/wreadln.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/wreadln.h7
1 files changed, 7 insertions, 0 deletions
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 <glib.h>
+
+#ifdef HAVE_NCURSESW_NCURSES_H
+#include <ncursesw/ncurses.h>
+#else
#include <ncurses.h>
+#endif
/* completion callback data */
extern void *wrln_completion_callback_data;