Hi all, This is small necessary change for OpenBSD at least, hopes it finds its way. Kind regards.
From 334acf5219fcc3bad9c965ce9f8725a48444ff34 Mon Sep 17 00:00:00 2001 From: David Carlier <[email protected]> Date: Mon, 3 Apr 2017 21:58:04 +0100 Subject: [PATCH] CLEANUP: server: moving netinet/tcp.h inclusion
netinet/tcp.h needs sys/types.h for u_int* types usage, issue found while building on OpenBSD. --- src/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.c b/src/server.c index 0795e256..23343d86 100644 --- a/src/server.c +++ b/src/server.c @@ -13,7 +13,6 @@ #include <ctype.h> #include <errno.h> -#include <netinet/tcp.h> #include <import/xxhash.h> @@ -43,6 +42,7 @@ #include <proto/stats.h> #include <proto/task.h> #include <proto/dns.h> +#include <netinet/tcp.h> static void srv_update_state(struct server *srv, int version, char **params); static int srv_apply_lastaddr(struct server *srv, int *err_code); -- 2.12.2

