summaryrefslogtreecommitdiff
path: root/win32/sockets.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/sockets.h')
-rw-r--r--win32/sockets.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/win32/sockets.h b/win32/sockets.h
index 4c1237ce8b..008587caef 100644
--- a/win32/sockets.h
+++ b/win32/sockets.h
@@ -23,8 +23,13 @@
/* Code originally from ext/sockets */
+#ifndef PHP_WIN32_SOCKETS_H
+#define PHP_WIN32_SOCKETS_H
+
PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2]);
+#endif
+
/*
* Local variables:
* tab-width: 4