Include ncurses.h where needed

This commit is contained in:
Guido van Rossum 1996-02-25 04:50:31 +00:00
parent 468fc6af68
commit 1266a01e47
1 changed files with 5 additions and 0 deletions

View File

@ -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