Skip to content

Commit 49d1e26

Browse files
committed
Fix Win32 build
1 parent 0b7bf00 commit 49d1e26

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/standard/php_fopen_wrapper.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121

2222
#include <stdio.h>
2323
#include <stdlib.h>
24+
#if HAVE_UNISTD_H
2425
#include <unistd.h>
26+
#endif
2527

2628
#include "php.h"
2729
#include "php_globals.h"

0 commit comments

Comments
 (0)