about summary refs log tree commit diff stats
path: root/src/input_win.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_win.c')
-rw-r--r--src/input_win.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/input_win.c b/src/input_win.c
index dadbd068..b731b978 100644
--- a/src/input_win.c
+++ b/src/input_win.c
@@ -45,11 +45,10 @@
 #include <string.h>
 #include <wchar.h>
 
-#ifdef HAVE_NCURSES_H
-#include <ncurses.h>
-#endif
 #ifdef HAVE_NCURSESW_NCURSES_H
 #include <ncursesw/ncurses.h>
+#elif HAVE_NCURSES_H
+#include <ncurses.h>
 #endif
 
 #include "common.h"