diff Include/Python.h @ 21713:e223397b26fa 2.2

Include <unistd.h> in Python.h. Fixes #500924.
author Martin v. Löwis <martin@v.loewis.de>
date Sat, 12 Jan 2002 11:13:24 +0000
parents ad7b4424aab6
children fb45791150d1
line wrap: on
line diff
--- a/Include/Python.h	Fri Jan 11 06:37:07 2002 +0000
+++ b/Include/Python.h	Sat Jan 12 11:13:24 2002 +0000
@@ -49,6 +49,9 @@
 #ifdef HAVE_STDLIB_H
 #include <stdlib.h>
 #endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 
 /* CAUTION:  Build setups should ensure that NDEBUG is defined on the
  * compiler command line when building Python in release mode; else