X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Finterface.c;h=c45ef6603b79c51e1cbfdc4f7aa04ea9dc7d0e52;hb=849f5394cce97a76da080f6cd9e5194b7f4ee0f0;hp=6c80334e681a63e4d3825df39d05a3a5d8686cec;hpb=7ef225022164d12f4560d03789c9d418b442d4cf;p=collectd.git diff --git a/src/interface.c b/src/interface.c index 6c80334e..c45ef660 100644 --- a/src/interface.c +++ b/src/interface.c @@ -91,6 +91,9 @@ static ignorelist_t *ignorelist = NULL; static _Bool report_inactive = 1; #ifdef HAVE_LIBKSTAT +#if HAVE_KSTAT_H +#include +#endif #define MAX_NUMIF 256 extern kstat_ctl_t *kc; static kstat_t *ksp[MAX_NUMIF];