diff --git a/internal/netxlite/getaddrinfo_cgo.go b/internal/netxlite/getaddrinfo_cgo.go index 8e6f0416f..fe7bd4301 100644 --- a/internal/netxlite/getaddrinfo_cgo.go +++ b/internal/netxlite/getaddrinfo_cgo.go @@ -9,6 +9,7 @@ package netxlite #ifndef _WIN32 #include // for getaddrinfo +#include // for C.SOCK_STREAM and C.AF_* #else #include // for getaddrinfo #endif