X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Ftcpconns.c;h=fdf7ec1bf1ed867c5f08080c89e0e8a235557330;hb=1d3482c65a00342de681e777c74108734ece0eab;hp=00cad0e46fa8b4e7857a3c929882a8a6409dacae;hpb=cb72a2216def7a5935e28644684df73e68a83425;p=collectd.git 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