summaryrefslogtreecommitdiffstats
path: root/Python/thread.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-05 23:27:02 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-05 23:27:02 (GMT)
commit80bb9655f0e0843199b46719b032f2dc737cf013 (patch)
treeed12a68ba0a32b61f9c24346b40d46437e506e71 /Python/thread.c
parented0af8fe702505001c67ec5e233fb84944529f7e (diff)
downloadcpython-80bb9655f0e0843199b46719b032f2dc737cf013.zip
cpython-80bb9655f0e0843199b46719b032f2dc737cf013.tar.gz
cpython-80bb9655f0e0843199b46719b032f2dc737cf013.tar.bz2
Keep gcc -Wall happy.
Diffstat (limited to 'Python/thread.c')
-rw-r--r--Python/thread.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/thread.c b/Python/thread.c
index 9349e58..0e6d6ee 100644
--- a/Python/thread.c
+++ b/Python/thread.c
@@ -45,6 +45,10 @@ PERFORMANCE OF THIS SOFTWARE.
extern char *getenv();
#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#include "thread.h"
#ifdef __ksr__