summaryrefslogtreecommitdiffstats
path: root/Modules/addrinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/addrinfo.h')
-rw-r--r--Modules/addrinfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/addrinfo.h b/Modules/addrinfo.h
index c3c8624..66e5a79 100644
--- a/Modules/addrinfo.h
+++ b/Modules/addrinfo.h
@@ -162,7 +162,9 @@ struct sockaddr_storage {
#ifdef __cplusplus
extern "C" {
#endif
+#ifdef ENABLE_IPV6
extern void freehostent(struct hostent *);
+#endif
#ifdef __cplusplus
}
#endif