summaryrefslogtreecommitdiffstats
path: root/Python/dup2.c
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2010-10-05 22:21:03 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2010-10-05 22:21:03 (GMT)
commit41b986c35237ba0c05aac262fc31f4a40fb57c52 (patch)
tree0ab7729979e43cb4321b34c929d779da40e3aec9 /Python/dup2.c
parent30630b955561eea6eaba1745db174a820cc28519 (diff)
downloadcpython-41b986c35237ba0c05aac262fc31f4a40fb57c52.zip
cpython-41b986c35237ba0c05aac262fc31f4a40fb57c52.tar.gz
cpython-41b986c35237ba0c05aac262fc31f4a40fb57c52.tar.bz2
Merged revisions 85236 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85236 | amaury.forgeotdarc | 2010-10-06 00:15:37 +0200 (mer., 06 oct. 2010) | 2 lines #9060 Let platforms without dup2() compile the replacement fonction without error. ........
Diffstat (limited to 'Python/dup2.c')
-rw-r--r--Python/dup2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/dup2.c b/Python/dup2.c
index ba7413a..2579afd 100644
--- a/Python/dup2.c
+++ b/Python/dup2.c
@@ -12,6 +12,7 @@
*/
#include <fcntl.h>
+#include <unistd.h>
#define BADEXIT -1