cvs: php4 /ext/sockets php_sockets.h

From: Date: Tue, 06 Nov 2001 14:35:26 +0000
Subject: cvs: php4 /ext/sockets php_sockets.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8088@lists.php.net to get a copy of this message
jon Tue Nov 6 09:35:26 2001 EDT Modified files: /php4/ext/sockets php_sockets.h Log: Include <sys/socket.h> for 'struct sockaddr'. # This fixes my FreeBSD build. Index: php4/ext/sockets/php_sockets.h diff -u php4/ext/sockets/php_sockets.h:1.17 php4/ext/sockets/php_sockets.h:1.18 --- php4/ext/sockets/php_sockets.h:1.17 Thu Nov 1 17:40:43 2001 +++ php4/ext/sockets/php_sockets.h Tue Nov 6 09:35:26 2001 @@ -22,7 +22,7 @@ #ifndef PHP_SOCKETS_H #define PHP_SOCKETS_H -/* $Id: php_sockets.h,v 1.17 2001/11/01 22:40:43 mfischer Exp $ */ +/* $Id: php_sockets.h,v 1.18 2001/11/06 14:35:26 jon Exp $ */ #if HAVE_SOCKETS @@ -34,7 +34,9 @@ #include <winsock.h> #else #define PHP_SOCKETS_API -#include <netinet/in.h> +#if HAVE_SYS_SOCKET_H +#include <sys/socket.h> +#endif #endif PHP_MINIT_FUNCTION(sockets);

« previous php.cvs (#8088) next »