Skip to content

Commit 845af77

Browse files
authored
Remove redundant win32/unistd.h includes (php#14533)
At this point win32/unistd.h only declares usleep which isn't used at these places.
1 parent da7bc2e commit 845af77

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

ext/fileinfo/php_libmagic.h

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
#ifdef PHP_WIN32
2424
#include "win32/param.h"
25-
#include "win32/unistd.h"
2625

2726
#ifdef _WIN64
2827
#define FINFO_LSEEK_FUNC _lseeki64

ext/standard/array.c

-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
#include <math.h>
2727
#include <time.h>
2828
#include <string.h>
29-
#ifdef PHP_WIN32
30-
#include "win32/unistd.h"
31-
#endif
3229
#include "zend_globals.h"
3330
#include "zend_interfaces.h"
3431
#include "php_array.h"

0 commit comments

Comments
 (0)