X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Futils_vl_lookup.c;h=f85910e1737e7b5d1c328a6e9e15896be2d60d99;hb=43ef00c0eb99991902d3c9a5fbe582cde049b055;hp=f0f0b4632ecafda01572e7d3252e25fc77c5136d;hpb=1fc00932fd49fa535551cc4bba09c4e4be059ab4;p=collectd.git diff --git a/src/utils_vl_lookup.c b/src/utils_vl_lookup.c index f0f0b463..f85910e1 100644 --- a/src/utils_vl_lookup.c +++ b/src/utils_vl_lookup.c @@ -33,6 +33,10 @@ #include "utils_vl_lookup.h" #include "utils_avltree.h" +#if HAVE_LIBKSTAT +kstat_ctl_t *kc; +#endif /* HAVE_LIBKSTAT */ + #if BUILD_TEST # define sstrncpy strncpy # define plugin_log(s, ...) do { \