From c103cac3c82dd4484b375b0a940c22aac6f9be74 Mon Sep 17 00:00:00 2001 From: Per Malmberg Date: Wed, 6 Dec 2017 09:11:05 +0100 Subject: include: get netinet/in.h before linux/tcp.h ... to allow build on older Linux dists (specifically CentOS 4.8 on gcc 4.8.5) Closes #2160 --- lib/setopt.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/setopt.c') diff --git a/lib/setopt.c b/lib/setopt.c index 944d17347..bd5fb54d9 100644 --- a/lib/setopt.c +++ b/lib/setopt.c @@ -26,6 +26,10 @@ #include #endif +#ifdef HAVE_NETINET_IN_H +#include +#endif + #ifdef HAVE_LINUX_TCP_H #include #endif -- cgit v1.2.3