summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2010-10-05 22:18:29 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2010-10-05 22:18:29 (GMT)
commit7955fb638abf63fb362c78ad064d9e4968aebe70 (patch)
tree7106c1d25bcf14b5e830b79defe19faae7a3cdc8
parentf066e27051bb13bd1ccde0899906780372b7b64c (diff)
downloadcpython-7955fb638abf63fb362c78ad064d9e4968aebe70.zip
cpython-7955fb638abf63fb362c78ad064d9e4968aebe70.tar.gz
cpython-7955fb638abf63fb362c78ad064d9e4968aebe70.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. ........
-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