From 8b24d60f1b7725d526ea5b5d3904b72e8b41ae0d Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Wed, 27 Jul 2022 08:19:23 +0200 Subject: gh-95174: WASI: skip missing sockets functions (GH-95179) --- Modules/addrinfo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Modules/addrinfo.h') diff --git a/Modules/addrinfo.h b/Modules/addrinfo.h index c3c86248dd..66e5a795f8 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 -- cgit v1.2.1