diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_cursesmodule.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index e57e802..25a18a5 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -145,7 +145,12 @@ None notimeout(int) int=0 or int=1 #include "Python.h" +#ifdef HAVE_NCURSES_H +/* Now let's hope there aren't systems that have a broken ncurses.h */ +#include <ncurses.h> +#else #include <curses.h> +#endif typedef struct { PyObject_HEAD |