[Python-checkins] CVS: python/dist/src/Include py_curses.h,1.1,1.2

Martin v. L?wis loewis@users.sourceforge.net
Sat, 13 Oct 2001 02:12:43 -0700


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv16024/Include

Modified Files:
	py_curses.h 
Log Message:
Check for term.h and include it on non-ncurses system to get a declaration
for tigetstr.


Index: py_curses.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/py_curses.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** py_curses.h	2000/12/22 21:51:10	1.1
--- py_curses.h	2001/10/13 09:12:41	1.2
***************
*** 7,10 ****
--- 7,14 ----
  #else
  #include <curses.h>
+ #ifdef HAVE_TERM_H
+ /* for tigetstr, which is not declared in SysV curses */
+ #include <term.h>
+ #endif
  #endif