This is necessary to define struct xinpgen; otherwise we see
dlls/nsiproxy.sys/tcp.c: In function ‘tcp_conns_enumerate_all’: dlls/nsiproxy.sys/tcp.c:660:27: error: invalid application of ‘sizeof’ to incomplete type ‘struct xinpgen’
on FreeBSD 11 and likely others.
Signed-off-by: Gerald Pfeifer gerald@pfeifer.com --- dlls/nsiproxy.sys/tcp.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/dlls/nsiproxy.sys/tcp.c b/dlls/nsiproxy.sys/tcp.c index eda438318f0..8567330be99 100644 --- a/dlls/nsiproxy.sys/tcp.c +++ b/dlls/nsiproxy.sys/tcp.c @@ -50,6 +50,10 @@ #include <netinet/in.h> #endif
+#ifdef HAVE_NETINET_IN_PCB_H +#include <netinet/in_pcb.h> +#endif + #ifdef HAVE_NETINET_IP_VAR_H #include <netinet/ip_var.h> #endif