summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-10 15:37:36 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-10 15:37:36 (GMT)
commit1a2c5cbcc49a2845ebc323ce7860554ca616cc73 (patch)
treefd315e84ead95bab1b10368bf454e597f63bd4fa
parent067998f35ec3013e9a55aad29f0e3dbe4560d11c (diff)
downloadcpython-1a2c5cbcc49a2845ebc323ce7860554ca616cc73.zip
cpython-1a2c5cbcc49a2845ebc323ce7860554ca616cc73.tar.gz
cpython-1a2c5cbcc49a2845ebc323ce7860554ca616cc73.tar.bz2
Add unistd.h to make gcc -Wall happy.
-rw-r--r--Python/bltinmodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 6a81c91..0eaf4ed 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -42,6 +42,10 @@ PERFORMANCE OF THIS SOFTWARE.
#include "mymath.h"
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
/* Forward */
static object *filterstring PROTO((object *, object *));
static object *filtertuple PROTO((object *, object *));