Kaydet (Commit) 1266a01e authored tarafından Guido van Rossum's avatar Guido van Rossum

Include ncurses.h where needed

üst 468fc6af
...@@ -145,7 +145,12 @@ None notimeout(int) int=0 or int=1 ...@@ -145,7 +145,12 @@ None notimeout(int) int=0 or int=1
#include "Python.h" #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> #include <curses.h>
#endif
typedef struct { typedef struct {
PyObject_HEAD PyObject_HEAD
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment