mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Fix some -Wimplicit-function-declaration errors on Windows (GH-15325)
While clang is picky about these, MSVC doesn't seem to care and would only report the calls to undeclared functions as errors during link time. Still, obviously, MSVC is fine with having the declarations during compile time.
This commit is contained in:
committed by
GitHub
parent
c02c1d4474
commit
9c537de8a5
@@ -23,6 +23,9 @@
|
||||
#include "SAPI.h"
|
||||
#include "main/php_network.h"
|
||||
#include "zend_smart_str.h"
|
||||
#ifdef PHP_WIN32
|
||||
# include "win32/sockets.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_WAIT_H
|
||||
#include <sys/wait.h>
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#ifdef PHP_WIN32
|
||||
# include <process.h>
|
||||
# include <io.h>
|
||||
# include "win32/console.h"
|
||||
# include "win32/time.h"
|
||||
# include "win32/signal.h"
|
||||
# include "win32/php_registry.h"
|
||||
|
||||
Reference in New Issue
Block a user