From: foobar Date: Fri, 25 Apr 2003 08:10:11 +0000 (+0000) Subject: Some AIX version failed to compile if this was redefined. X-Git-Tag: SPL_ALPHA~84 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=93b154fea4a9bc365fed9a1f7294e8cab5e2ad5c;p=php Some AIX version failed to compile if this was redefined. --- diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index c84d0bcd07..f39b97566b 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -29,7 +29,10 @@ #if HAVE_SOCKETS +#ifndef _XOPEN_SOURCE_EXTENDED #define _XOPEN_SOURCE_EXTENDED +#endif + #define _XPG4_2 #define __EXTENSIONS__