X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fpf.c;h=44f0c7bcdec158b3244ec6f7b0d9212b9cd652d5;hb=912c9b3f7c4a57fbf9ddd16db13d2651932ddb65;hp=0332c3c1b3a4c7ee62d54b081bdcdf087960273d;hpb=981d7e58b2ecce4456948cc2ec9b67bde02bbd07;p=collectd.git diff --git a/src/pf.c b/src/pf.c index 0332c3c1..44f0c7bc 100644 --- a/src/pf.c +++ b/src/pf.c @@ -19,13 +19,17 @@ #include "plugin.h" #include "common.h" -#include -#include -#include +#if HAVE_SYS_IOCTL_H +# include +#endif +#if HAVE_SYS_SOCKET_H +# include +#endif +#if HAVE_NET_IF_H +# include +#endif + #include -#include -#include -#include #ifndef FCNT_NAMES # if FCNT_MAX != 3