mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
10 lines
315 B
Go
10 lines
315 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> // for C.SOCK_STREAM and C.AF_*
|
|
#else
|
|
#include <ws2tcpip.h> // for getaddrinfo
|
|
#endif
|