about summary refs log tree commit diff stats
path: root/src/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ui.h b/src/ui.h
index 28040448..cc0b11f9 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -23,8 +23,16 @@
 #ifndef WINDOWS_H
 #define WINDOWS_h
 
+#include "config.h"
+
 #include <glib.h>
+
+#ifdef HAVE_NCURSES_H
 #include <ncurses.h>
+#endif
+#ifdef HAVE_NCURSES_NCURSES_H
+#include <ncurses/ncurses.h>
+#endif
 
 #include "jabber.h"