From 49d1e261438dfb557ded4cd49f49a5d6f73c59c6 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Tue, 26 Jun 2001 13:33:24 +0000 Subject: [PATCH] Fix Win32 build --- ext/standard/php_fopen_wrapper.c | 2 ++ 1 file changed, 2 insertions(+) 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 #include +#if HAVE_UNISTD_H #include +#endif #include "php.h" #include "php_globals.h" -- 2.40.0