1 2 3 4 5 6 7 8 9 10 11
#include <curses.h> #if defined __STDC_VERSION__ && 199901L <= __STDC_VERSION__ typedef _Bool bool; #else typedef int bool; #endif /* XOPEN(4) LINK(curses) */