summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/curses/gui-display.c')
-rw-r--r--src/gui/curses/gui-display.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/curses/gui-display.c b/src/gui/curses/gui-display.c
index 8f0d57389..895f3c2bd 100644
--- a/src/gui/curses/gui-display.c
+++ b/src/gui/curses/gui-display.c
@@ -31,7 +31,12 @@
#include <signal.h>
#include <time.h>
#include <ctype.h>
+
+#ifdef HAVE_NCURSESW_CURSES_H
#include <ncursesw/ncurses.h>
+#else
+#include <ncurses.h>
+#endif
#include "../../common/weechat.h"
#include "../gui.h"