# From upstream
--- php-5.5.8/ext/sockets/config.m4.~1~ 2014-02-03 17:00:04.190436713 +0400
+++ php-5.5.8/ext/sockets/config.m4 2014-02-03 17:01:07.630356700 +0400
@@ -56,6 +56,6 @@
AC_DEFINE(HAVE_AI_V4MAPPED,1,[Whether you have AI_V4MAPPED])
fi
- PHP_NEW_EXTENSION([sockets], [sockets.c multicast.c conversions.c sockaddr_conv.c sendrecvmsg.c], [$ext_shared])
+ PHP_NEW_EXTENSION([sockets], [sockets.c multicast.c conversions.c sockaddr_conv.c sendrecvmsg.c], [$ext_shared],,-D_XPG4_2)
PHP_INSTALL_HEADERS([ext/sockets/], [php_sockets.h])
fi