summaryrefslogtreecommitdiffstats
path: root/Source/Checks/Curses/CheckCurses.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Checks/Curses/CheckCurses.c')
-rw-r--r--Source/Checks/Curses/CheckCurses.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/Checks/Curses/CheckCurses.c b/Source/Checks/Curses/CheckCurses.c
new file mode 100644
index 0000000..857ae28
--- /dev/null
+++ b/Source/Checks/Curses/CheckCurses.c
@@ -0,0 +1,15 @@
+#if defined(CURSES_HAVE_NCURSES_H)
+#include <ncurses.h>
+#elif defined(CURSES_HAVE_NCURSES_NCURSES_H)
+#include <ncurses/ncurses.h>
+#elif defined(CURSES_HAVE_NCURSES_CURSES_H)
+#include <ncurses/curses.h>
+#else
+#include <curses.h>
+#endif
+
+int main()
+{
+ curses_version();
+ return 0;
+}