about summary refs log tree commit diff stats
path: root/src/windows.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-09-08 16:51:09 +0100
committerJames Booth <boothj5@gmail.com>2012-09-08 16:51:09 +0100
commit8e0d8d2a866548a8a21ab016d147e4ae021878cb (patch)
treede08f7ecee15906dcd1eb6e95c43a3571703a545 /src/windows.c
parent86d1ff605cc0edd92956083bc86a2b2b46144a34 (diff)
downloadprofani-tty-8e0d8d2a866548a8a21ab016d147e4ae021878cb.tar.gz
Check for ncurses headers on cygwin
Diffstat (limited to 'src/windows.c')
-rw-r--r--src/windows.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/windows.c b/src/windows.c
index df0da33d..eaa78ce2 100644
--- a/src/windows.c
+++ b/src/windows.c
@@ -28,7 +28,12 @@
 #ifdef HAVE_LIBNOTIFY
 #include <libnotify/notify.h>
 #endif
+#ifdef HAVE_NCURSES_H
 #include <ncurses.h>
+#endif
+#ifdef HAVE_NCURSES_NCURSES_H
+#include <ncurses/ncurses.h>
+#endif
 
 #include "command.h"
 #include "contact.h"