diff options
author | Guido van Rossum <guido@python.org> | 1996-02-25 04:50:31 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-02-25 04:50:31 (GMT) |
commit | 1266a01e477c3efb2ac8aa541379ad86616ec99a (patch) | |
tree | 7e7db4bb128ab7cf068fdd8aeb44414d8dac118e /Modules/_cursesmodule.c | |
parent | 468fc6af6803b35bdfe7868c530d0488f16a448b (diff) | |
download | cpython-1266a01e477c3efb2ac8aa541379ad86616ec99a.zip cpython-1266a01e477c3efb2ac8aa541379ad86616ec99a.tar.gz cpython-1266a01e477c3efb2ac8aa541379ad86616ec99a.tar.bz2 |
Include ncurses.h where needed
Diffstat (limited to 'Modules/_cursesmodule.c')
-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 |