From 1ac298349bc9924e4d07dc61f6bef46b9ab0a46c Mon Sep 17 00:00:00 2001 From: Rob Lensen Date: Wed, 27 Feb 2008 08:04:57 +0100 Subject: [PATCH] tcpconns plugin: Fix for compilation under FreeBSD. --- src/tcpconns.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/tcpconns.c b/src/tcpconns.c index 00cad0e4..fdf7ec1b 100644 --- a/src/tcpconns.c +++ b/src/tcpconns.c @@ -33,6 +33,19 @@ #elif HAVE_SYSCTLBYNAME # include # include + +/* Some includes needed for compiling on FreeBSD */ +#include +#if HAVE_SYS_TYPES_H +# include +#endif +#if HAVE_SYS_SOCKET_H +# include +#endif +#if HAVE_NET_IF_H +# include +#endif + # include # include # include -- 2.11.0