summaryrefslogtreecommitdiff
path: root/ext/standard/php_fopen_wrapper.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-06-26 13:33:24 +0000
committerZeev Suraski <zeev@php.net>2001-06-26 13:33:24 +0000
commit49d1e261438dfb557ded4cd49f49a5d6f73c59c6 (patch)
tree33f04ba3957e9dc9adff42ad4c5b98bd7f553af0 /ext/standard/php_fopen_wrapper.c
parent0b7bf00cfc9b7c0040ef386dea7419330e202077 (diff)
downloadphp-git-49d1e261438dfb557ded4cd49f49a5d6f73c59c6.tar.gz
Fix Win32 build
Diffstat (limited to 'ext/standard/php_fopen_wrapper.c')
-rw-r--r--ext/standard/php_fopen_wrapper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/php_fopen_wrapper.c b/ext/standard/php_fopen_wrapper.c
index 9a0e261ecc..b5367198e2 100644
--- a/ext/standard/php_fopen_wrapper.c
+++ b/ext/standard/php_fopen_wrapper.c
@@ -21,7 +21,9 @@
#include <stdio.h>
#include <stdlib.h>
+#if HAVE_UNISTD_H
#include <unistd.h>
+#endif
#include "php.h"
#include "php_globals.h"