diff options
Diffstat (limited to 'ext/standard/php_fopen_wrapper.c')
-rw-r--r-- | ext/standard/php_fopen_wrapper.c | 2 |
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" |