diff Python/thread.c @ 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 ebfd87e87884
children b898c0feb754
line wrap: on
line diff
--- a/Python/thread.c	Sat Jan 12 09:48:02 2002 +0000
+++ b/Python/thread.c	Sat Jan 12 11:05:12 2002 +0000
@@ -5,7 +5,7 @@
    which is included by this file dependent on config settings.
    Stuff shared by all thread_*.h files is collected here. */
 
-#include "pyconfig.h"
+#include "Python.h"
 
 /* pyconfig.h may or may not define DL_IMPORT */
 #ifndef DL_IMPORT	/* declarations for DLL import/export */
@@ -24,10 +24,6 @@
 #endif
 #endif
 
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
 #ifdef __DGUX
 #define _USING_POSIX4A_DRAFT6
 #endif