summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/curses/gui-curses-term.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-term.c b/src/gui/curses/gui-curses-term.c
index 65f7d25c4..fed1aed90 100644
--- a/src/gui/curses/gui-curses-term.c
+++ b/src/gui/curses/gui-curses-term.c
@@ -25,7 +25,11 @@
#include "config.h"
#endif
+#ifdef HAVE_NCURSESW_CURSES_H
+#include <ncursesw/term.h>
+#else
#include <term.h>
+#endif
/*