diff --git a/ext/ffi/ffi.c b/ext/ffi/ffi.c index 779b41fcad3d..c3c08327fbe2 100644 --- a/ext/ffi/ffi.c +++ b/ext/ffi/ffi.c @@ -34,11 +34,9 @@ #ifdef HAVE_LIBDL #ifdef PHP_WIN32 -#include "win32/param.h" #include "win32/winutil.h" #define GET_DL_ERROR() php_win_err() #else -#include #define GET_DL_ERROR() DL_ERROR() #endif #endif diff --git a/ext/standard/ftp_fopen_wrapper.c b/ext/standard/ftp_fopen_wrapper.c index 457d1410aabe..dfe905a8c220 100644 --- a/ext/standard/ftp_fopen_wrapper.c +++ b/ext/standard/ftp_fopen_wrapper.c @@ -30,10 +30,6 @@ #ifdef PHP_WIN32 #include -#define O_RDONLY _O_RDONLY -#include "win32/param.h" -#else -#include #endif #include "php_standard.h" diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c index 195394c7ed8d..4b2aa7116a24 100644 --- a/ext/standard/http_fopen_wrapper.c +++ b/ext/standard/http_fopen_wrapper.c @@ -33,13 +33,6 @@ #include #include -#ifdef PHP_WIN32 -#define O_RDONLY _O_RDONLY -#include "win32/param.h" -#else -#include -#endif - #include "php_standard.h" #ifdef HAVE_SYS_SOCKET_H diff --git a/main/network.c b/main/network.c index 84a755505b21..b4d3ded15196 100644 --- a/main/network.c +++ b/main/network.c @@ -24,10 +24,6 @@ #ifdef PHP_WIN32 # include # include "win32/winutil.h" -# define O_RDONLY _O_RDONLY -# include "win32/param.h" -#else -#include #endif #include diff --git a/main/php_scandir.c b/main/php_scandir.c index 848a0cf96168..c180272e5f48 100644 --- a/main/php_scandir.c +++ b/main/php_scandir.c @@ -27,7 +27,6 @@ #ifndef HAVE_SCANDIR #ifdef PHP_WIN32 -#include "win32/param.h" #include "win32/readdir.h" #endif diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c index 2da7e4193001..d6249ae068da 100644 --- a/sapi/phpdbg/phpdbg_prompt.c +++ b/sapi/phpdbg/phpdbg_prompt.c @@ -48,11 +48,9 @@ extern int phpdbg_startup_run; #ifdef HAVE_LIBDL #ifdef PHP_WIN32 -#include "win32/param.h" #include "win32/winutil.h" #define GET_DL_ERROR() php_win_err() #else -#include #define GET_DL_ERROR() DL_ERROR() #endif #endif