diff options
author | Jon Parise <jon@php.net> | 2002-01-27 06:55:10 +0000 |
---|---|---|
committer | Jon Parise <jon@php.net> | 2002-01-27 06:55:10 +0000 |
commit | d7523c883b73e185c9dc9bd09c18d645ec4740f7 (patch) | |
tree | 2e2f74f2d084afc444abe40902c06d4c6b186352 /ext/sockets | |
parent | 0d59ff42d4ffb5fb994703aa4508f2d170110c33 (diff) | |
download | php-git-d7523c883b73e185c9dc9bd09c18d645ec4740f7.tar.gz |
Because php_network.h includes <sys/socket.h>, it must be included after
_XPG4_2 is defined.
This fixes the build under Solaris 8.
Diffstat (limited to 'ext/sockets')
-rw-r--r-- | ext/sockets/sockets.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index cd6f827dff..5d3f16dd25 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -26,7 +26,6 @@ #endif #include "php.h" -#include "php_network.h" #if HAVE_SOCKETS @@ -34,7 +33,7 @@ #define _XPG4_2 #define __EXTENSIONS__ - +#include "php_network.h" #include "ext/standard/info.h" #include "php_ini.h" |