diff --git a/curl-sys/build.rs b/curl-sys/build.rs index ef53e6f3c2..32c8d3a988 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -202,6 +202,7 @@ fn main() { .file("curl/lib/wildcard.c") .define("HAVE_GETADDRINFO", None) .define("HAVE_GETPEERNAME", None) + .define("HAVE_GETSOCKNAME", None) .warnings(false); if cfg!(feature = "protocol-ftp") {