summaryrefslogtreecommitdiffstats
path: root/RichString.c
diff options
context:
space:
mode:
Diffstat (limited to 'RichString.c')
-rw-r--r--RichString.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/RichString.c b/RichString.c
index 6d87cd84..aef8c959 100644
--- a/RichString.c
+++ b/RichString.c
@@ -12,10 +12,14 @@
#include "debug.h"
#include <assert.h>
-#ifdef HAVE_LIBNCURSESW
-#include <ncursesw/curses.h>
-#else
+#ifdef HAVE_CURSES_H
#include <curses.h>
+#elif HAVE_NCURSES_H
+#include <ncurses.h>
+#elif HAVE_NCURSESW_CURSES_H
+#include <ncursesw/curses.h>
+#elif HAVE_NCURSES_NCURSES_H
+#include <ncurses/ncurses.h>
#endif
#define RICHSTRING_MAXLEN 300