From a1cc71207cd22d7d884f44d135d975d981fa21e6 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Tue, 24 Aug 2021 14:53:47 +0200 Subject: [PATCH] nsiproxy: Include sys/queue.h from tcp.c. In what looks like a change between FreeBSD 11 and later versions (FreeBSD 12 and 13), we now need to explicitly include sys/queue.h to avoid In file included from dlls/nsiproxy.sys/tcp.c:42: /usr/include/netinet/tcp_var.h:516:2: error: expected specifier-qualifier-list before 'TAILQ_ENTRY' 516 | TAILQ_ENTRY(tcptw) tw_2msl; Signed-off-by: Gerald Pfeifer Signed-off-by: Huw Davies Signed-off-by: Alexandre Julliard --- 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 8567330be99..603aefadfe9 100644 --- a/dlls/nsiproxy.sys/tcp.c +++ b/dlls/nsiproxy.sys/tcp.c @@ -58,6 +58,10 @@ #include #endif +#ifdef HAVE_SYS_QUEUE_H +#include +#endif + #ifdef HAVE_NETINET_TCP_VAR_H #include #endif