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.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/status_bar.c b/src/status_bar.c
index 28456f6f..763f5ada 100644
--- a/src/status_bar.c
+++ b/src/status_bar.c
@@ -20,10 +20,17 @@
  *
  */
 
+#include "config.h"
+
 #include <string.h>
 #include <stdlib.h>
 
+#ifdef HAVE_NCURSES_H
 #include <ncurses.h>
+#endif
+#ifdef HAVE_NCURSES_NCURSES_H
+#include <ncurses/ncurses.h>
+#endif
 
 #include "ui.h"