summaryrefslogtreecommitdiff
path: root/ext/socket/addrinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/addrinfo.h')
-rw-r--r--ext/socket/addrinfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/socket/addrinfo.h b/ext/socket/addrinfo.h
index 724f800c79..74fae207b9 100644
--- a/ext/socket/addrinfo.h
+++ b/ext/socket/addrinfo.h
@@ -27,6 +27,8 @@
* SUCH DAMAGE.
*/
+#ifndef ADDR_INFO_H
+#define ADDR_INFO_H
#ifndef HAVE_GETADDRINFO
/* special compatibility hack */
@@ -167,3 +169,4 @@ Standard C system should have one. */
#endif
#endif
+#endif