diff options
author | Anatol Belski <ab@php.net> | 2016-12-13 13:22:09 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-12-13 13:22:09 +0100 |
commit | 12c51c2f9a23678e5ba92e79481db8c6eb166e04 (patch) | |
tree | 3e7f08f7eb5daea1ac171d13c2706a4d8e32d119 /ext/zip | |
parent | 6648c4ca18608ad964f254512765e5a319d06dea (diff) | |
download | php-git-12c51c2f9a23678e5ba92e79481db8c6eb166e04.tar.gz |
check for header availability
Diffstat (limited to 'ext/zip')
-rw-r--r-- | ext/zip/lib/mkstemp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/zip/lib/mkstemp.c b/ext/zip/lib/mkstemp.c index 57d8848491..ccd8da855e 100644 --- a/ext/zip/lib/mkstemp.c +++ b/ext/zip/lib/mkstemp.c @@ -43,7 +43,9 @@ #endif #include <stdio.h> #include <stdlib.h> +#ifdef _WIN32 #include <unistd.h> +#endif #ifndef O_BINARY #define O_BINARY 0 |