From 49a1f9cf282ed38c7b1e4d584e06cb06c0c01f9c Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Thu, 22 Jul 2021 12:21:43 +0200 Subject: [PATCH] nsiproxy: Include sys/socket.h. This addresses invalid use of undefined type 'struct sock addr' and AF_INET being unknown when building on FreeBSD 11.x. Signed-off-by: Gerald Pfeifer Signed-off-by: Huw Davies Signed-off-by: Alexandre Julliard --- dlls/nsiproxy.sys/ip.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/nsiproxy.sys/ip.c b/dlls/nsiproxy.sys/ip.c index ab1b6294bea..93fdefa24cc 100644 --- a/dlls/nsiproxy.sys/ip.c +++ b/dlls/nsiproxy.sys/ip.c @@ -21,6 +21,10 @@ #include "config.h" #include +#ifdef HAVE_SYS_SOCKET_H +#include +#endif + #ifdef HAVE_NETINET_IN_H #include #endif