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

Martin v. L?wis loewis@users.sourceforge.net
2002年1月12日 03:05:36 -0800


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv8438/Include
Modified Files:
	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.41
diff -C2 -d -r2.40 -r2.41
*** Python.h	2001年12月04日 20:06:11	2.40
--- Python.h	2002年01月12日 11:05:03	2.41
***************
*** 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

AltStyle によって変換されたページ (->オリジナル) /