diff options
author | Frank M. Kromann <fmk@php.net> | 2000-08-19 21:15:43 +0000 |
---|---|---|
committer | Frank M. Kromann <fmk@php.net> | 2000-08-19 21:15:43 +0000 |
commit | 61df257c0f5c6f04ae6eefb9baa16574a1afd08f (patch) | |
tree | 226fc2bed8325b1203741ab4404856da73b20697 | |
parent | 705e6f2ec6445634b5d547d63b054f8de7f0cd8e (diff) | |
download | php-git-61df257c0f5c6f04ae6eefb9baa16574a1afd08f.tar.gz |
We only need winsock.h one time
-rw-r--r-- | ext/standard/file.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c index 47dd9445a9..f1b66dd78d 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -44,6 +44,9 @@ #else #include <sys/param.h> #include <sys/socket.h> +#include <netinet/in.h> +#include <netdb.h> +#include <arpa/inet.h> #endif #include "ext/standard/head.h" #include "safe_mode.h" @@ -59,13 +62,6 @@ #ifdef HAVE_SYS_TIME_H #include <sys/time.h> #endif -#ifdef PHP_WIN32 -#include <winsock.h> -#else -#include <netinet/in.h> -#include <netdb.h> -#include <arpa/inet.h> -#endif #include "fsock.h" #include "fopen-wrappers.h" #include "php_globals.h" |