summaryrefslogtreecommitdiff
path: root/main/php_network.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_network.h')
-rw-r--r--main/php_network.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/php_network.h b/main/php_network.h
index 7ce11c22ec..f448117c99 100644
--- a/main/php_network.h
+++ b/main/php_network.h
@@ -17,7 +17,12 @@
*/
/* $Id$ */
-int php_hostconnect(char *host, int port, int socktype, int timeout);
+#ifndef _PHP_NETWORK_H
+#define _PHP_NETWORK_H
+
+int php_hostconnect(char *host, unsigned short port, int socktype, int timeout);
+
+#endif /* _PHP_NETWORK_H */
/*
* Local variables: