cvs: php4 /ext/sockets sockets.c
| From: | Jon Parise | Date: | Sun, 27 Jan 2002 06:55:10 +0000 |
| Subject: | cvs: php4 /ext/sockets sockets.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9191@lists.php.net to get a copy of this message | ||
jon Sun Jan 27 01:55:10 2002 EDT
Modified files:
/php4/ext/sockets sockets.c
Log:
Because php_network.h includes <sys/socket.h>, it must be included after
_XPG4_2 is defined.
This fixes the build under Solaris 8.
Index: php4/ext/sockets/sockets.c
diff -u php4/ext/sockets/sockets.c:1.87 php4/ext/sockets/sockets.c:1.88
--- php4/ext/sockets/sockets.c:1.87 Wed Jan 9 11:51:53 2002
+++ php4/ext/sockets/sockets.c Sun Jan 27 01:55:10 2002
@@ -19,14 +19,13 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sockets.c,v 1.87 2002/01/09 16:51:53 mfischer Exp $ */
+/* $Id: sockets.c,v 1.88 2002/01/27 06:55:10 jon Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#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"