summaryrefslogtreecommitdiffstats
path: root/Modules/addrinfo.h
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-07-27 06:19:23 (GMT)
committerGitHub <noreply@github.com>2022-07-27 06:19:23 (GMT)
commit8b24d60f1b7725d526ea5b5d3904b72e8b41ae0d (patch)
treeebe22ee760fa10e92e2807f6f55f1003f647b0a0 /Modules/addrinfo.h
parentdaa64d6a5900beea1f1973e5e01121967bc6fa6c (diff)
downloadcpython-8b24d60f1b7725d526ea5b5d3904b72e8b41ae0d.zip
cpython-8b24d60f1b7725d526ea5b5d3904b72e8b41ae0d.tar.gz
cpython-8b24d60f1b7725d526ea5b5d3904b72e8b41ae0d.tar.bz2
gh-95174: WASI: skip missing sockets functions (GH-95179)
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