summaryrefslogtreecommitdiffstats
path: root/Python/dup2.c
diff options
context:
space:
mode:
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