cvs: php-src /main/streams php_stream_transport.h
| From: | Wez Furlong | Date: | Wed, 02 Jul 2003 01:35:39 +0000 |
| Subject: | cvs: php-src /main/streams php_stream_transport.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-22289@lists.php.net to get a copy of this message | ||
wez Tue Jul 1 21:35:39 2003 EDT
Modified files:
/php-src/main/streams php_stream_transport.h
Log:
socklen_t needs this.
We might need some more magic to ensure that socklen_t gets defined in
the correct places; lets see if any more problems arise...
Index: php-src/main/streams/php_stream_transport.h
diff -u php-src/main/streams/php_stream_transport.h:1.4
php-src/main/streams/php_stream_transport.h:1.5
--- php-src/main/streams/php_stream_transport.h:1.4 Tue Jul 1 15:51:06 2003
+++ php-src/main/streams/php_stream_transport.h Tue Jul 1 21:35:39 2003
@@ -16,7 +16,11 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_stream_transport.h,v 1.4 2003/07/01 19:51:06 wez Exp $ */
+/* $Id: php_stream_transport.h,v 1.5 2003/07/02 01:35:39 wez Exp $ */
+
+#if HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
typedef php_stream *(php_stream_transport_factory_func)(const char *proto, long protolen,
char *resourcename, long resourcenamelen,