ports/net/ooni-probe-cli/files/patch-internal_netxlite_getaddrinfo__cgo.go
Rene Ladan 48a92f7511 net/ooni-probe-cli: unbreak, update to 3.22.0
PR:		270020
Reported by:	alster@vinterdalen.se
Approved by:	maintainer timeout (egypcio, 15 days)
MFH:		2024Q3
2024-08-11 11:40:58 +02:00

11 lines
283 B
Go

--- internal/netxlite/getaddrinfo_cgo.go.orig 1979-11-30 00:00:00 UTC
+++ internal/netxlite/getaddrinfo_cgo.go
@@ -9,6 +9,7 @@ package netxlite
#ifndef _WIN32
#include <netdb.h> // for getaddrinfo
+#include <sys/socket.h>
#else
#include <ws2tcpip.h> // for getaddrinfo
#endif