cvs: php4(PHP_4_0_6) /main php_network.h
| From: | Wez Furlong | Date: | Sat, 05 May 2001 22:55:43 +0000 |
| Subject: | cvs: php4(PHP_4_0_6) /main php_network.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5547@lists.php.net to get a copy of this message | ||
wez Sat May 5 15:55:43 2001 EDT
Modified files: (Branch: PHP_4_0_6)
/php4/main php_network.h
Log:
Added missing sys/time.h include
Index: php4/main/php_network.h
diff -u php4/main/php_network.h:1.6 php4/main/php_network.h:1.6.2.1
--- php4/main/php_network.h:1.6 Sat May 5 11:36:20 2001
+++ php4/main/php_network.h Sat May 5 15:55:43 2001
@@ -15,7 +15,7 @@
| Authors: Stig Venaas <venaas@uninett.no> |
+----------------------------------------------------------------------+
*/
-/* $Id: php_network.h,v 1.6 2001/05/05 18:36:20 wez Exp $ */
+/* $Id: php_network.h,v 1.6.2.1 2001/05/05 22:55:43 wez Exp $ */
#ifndef _PHP_NETWORK_H
#define _PHP_NETWORK_H
@@ -37,7 +37,9 @@
#include <sys/socket.h>
#endif
-
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
int php_hostconnect(char *host, unsigned short port, int socktype, int timeout);
PHPAPI int php_connect_nonb(int sockfd, struct sockaddr *addr, socklen_t addrlen, struct timeval
*timeout);