summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/php_network.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/php_network.h b/main/php_network.h
index eaacbc8450..43ce3ce182 100644
--- a/main/php_network.h
+++ b/main/php_network.h
@@ -37,6 +37,10 @@
#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);