about summary refs log tree commit diff stats
path: root/src/status_bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/status_bar.c')
-rw-r--r--src/status_bar.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/status_bar.c b/src/status_bar.c
index 4f8db3a6..8e748f45 100644
--- a/src/status_bar.c
+++ b/src/status_bar.c
@@ -25,11 +25,10 @@
 #include <string.h>
 #include <stdlib.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 "theme.h"