diff options
author | Christian Heimes <christian@python.org> | 2022-07-27 06:19:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-27 06:19:23 (GMT) |
commit | 8b24d60f1b7725d526ea5b5d3904b72e8b41ae0d (patch) | |
tree | ebe22ee760fa10e92e2807f6f55f1003f647b0a0 /Modules/addrinfo.h | |
parent | daa64d6a5900beea1f1973e5e01121967bc6fa6c (diff) | |
download | cpython-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.h | 2 |
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 |