summaryrefslogtreecommitdiff
path: root/src/curses/bool.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/curses/bool.c')
-rw-r--r--src/curses/bool.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/curses/bool.c b/src/curses/bool.c
new file mode 100644
index 00000000..c7927d0d
--- /dev/null
+++ b/src/curses/bool.c
@@ -0,0 +1,11 @@
+#include <curses.h>
+#if defined __STDC_VERSION__ && 199901L <= __STDC_VERSION__
+typedef _Bool bool;
+#else
+typedef int bool;
+#endif
+
+/*
+XOPEN(4)
+LINK(curses)
+*/