summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-19 22:53:59 -0500
committermidipix <writeonce@midipix.org>2018-12-19 22:53:59 -0500
commitddfcedd7279b42392b48112435d5d9f214244fa7 (patch)
tree3229ec5a7bbe7896c124ed6f554914518e20a815
parent3858c77bd6f054429e98c92d3c7e471bd05b92f1 (diff)
downloadsbpython2-ddfcedd7279b42392b48112435d5d9f214244fa7.tar.bz2
sbpython2-ddfcedd7279b42392b48112435d5d9f214244fa7.tar.xz
project: ncursesw support: guard against incorrect direct inclusion of term.h.
-rw-r--r--wrappers/term.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/wrappers/term.h b/wrappers/term.h
new file mode 100644
index 0000000..426c296
--- /dev/null
+++ b/wrappers/term.h
@@ -0,0 +1,7 @@
+#ifdef HAVE_NCURSESW_PANEL_H
+#include <ncursesw/term.h>
+#else
+#ifdef HAVE_NCURSES_PANEL_H
+#include <ncurses/term.h>
+#endif
+#endif