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