From: Jon Parise Date: Sun, 27 Jan 2002 06:55:10 +0000 (+0000) Subject: Because php_network.h includes , it must be included after X-Git-Tag: PRE_ISSET_PATCH~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7523c883b73e185c9dc9bd09c18d645ec4740f7;p=php Because php_network.h includes , it must be included after _XPG4_2 is defined. This fixes the build under Solaris 8. --- 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"