diff options
Diffstat (limited to 'Modules/_cursesmodule.c')
-rw-r--r-- | Modules/_cursesmodule.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index aa0b4f0..0cc0437 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -100,14 +100,15 @@ char *PyCursesVersion = "2.1"; /* Includes */ #include "Python.h" -#define CURSES_MODULE -#include "py_curses.h" #ifdef __osf__ #define _XOPEN_SOURCE_EXTENDED /* Define macro for OSF/1 */ #define STRICT_SYSV_CURSES /* Don't use ncurses extensions */ #endif +#define CURSES_MODULE +#include "py_curses.h" + /* These prototypes are in <term.h>, but including this header #defines many common symbols (such as "lines") which breaks the curses module in other ways. So the code will just specify |