diff Include/Python.h @ 21712:c64fc56f6072 legacy-trunk

Include <unistd.h> in Python.h. Fixes #500924.
author Martin v. Löwis <martin@v.loewis.de>
date Sat, 12 Jan 2002 11:05:12 +0000
parents ad7b4424aab6
children fb45791150d1
line wrap: on
line diff
--- a/Include/Python.h	Sat Jan 12 09:48:02 2002 +0000
+++ b/Include/Python.h	Sat Jan 12 11:05:12 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