summaryrefslogtreecommitdiff
path: root/ext/sockets/sockets.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-04-25 08:10:11 +0000
committerfoobar <sniper@php.net>2003-04-25 08:10:11 +0000
commit93b154fea4a9bc365fed9a1f7294e8cab5e2ad5c (patch)
treec16aca9e121e847c5280095ee12a677f7b03755d /ext/sockets/sockets.c
parent2d558127af5f2013f914689fd1f2d15c2bc11ffa (diff)
downloadphp-git-93b154fea4a9bc365fed9a1f7294e8cab5e2ad5c.tar.gz
Some AIX version failed to compile if this was redefined.
Diffstat (limited to 'ext/sockets/sockets.c')
-rw-r--r--ext/sockets/sockets.c3
1 files changed, 3 insertions, 0 deletions
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__