]> granicus.if.org Git - python/commitdiff
Merged revisions 85236 via svnmerge from
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Tue, 5 Oct 2010 22:18:29 +0000 (22:18 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Tue, 5 Oct 2010 22:18:29 +0000 (22:18 +0000)
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.
........

Python/dup2.c

index ba7413a0ca7b5265f1dfb30f8843c91d4f3b8836..2579afd443dca8453bcff75619772ed514fb3278 100644 (file)
@@ -12,6 +12,7 @@
  */
 
 #include <fcntl.h>
+#include <unistd.h>
 
 #define BADEXIT -1