[Python-checkins] CVS: python/dist/src/Include Python.h,2.40,2.40.6.1

Martin v. L?wis loewis@users.sourceforge.net
Sat, 12 Jan 2002 03:13:25 -0800


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

Modified Files:
      Tag: release22-maint
	Python.h 
Log Message:
Include <unistd.h> in Python.h. Fixes #500924.


Index: Python.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/Python.h,v
retrieving revision 2.40
retrieving revision 2.40.6.1
diff -C2 -d -r2.40 -r2.40.6.1
*** Python.h	2001/12/04 20:06:11	2.40
--- Python.h	2002/01/12 11:13:23	2.40.6.1
***************
*** 50,53 ****
--- 50,56 ----
  #include <stdlib.h>
  #endif
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif
  
  /* CAUTION:  Build setups should ensure that NDEBUG is defined on the