]> granicus.if.org Git - php/commitdiff
Include unistd.h for getpid()
authorSara Golemon <pollita@php.net>
Tue, 13 Dec 2016 05:44:07 +0000 (21:44 -0800)
committerSara Golemon <pollita@php.net>
Tue, 13 Dec 2016 07:25:49 +0000 (23:25 -0800)
ext/zip/lib/mkstemp.c

index 2ccd3a48789eb9b3f0f46e5291e30358e05c711e..57d88484911b074549e18784062f6c03bb1744a7 100644 (file)
@@ -43,6 +43,7 @@
 #endif
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 #ifndef O_BINARY
 #define O_BINARY 0