X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Fplugin_mock.c;h=b6efa3ad788387528074efc38b258b6ef309b6dd;hb=5b4053d27b6a24e2f18e678f0d8c3343b7dfad7c;hp=f3eefd5a6ebc5ebededb1af1206f4f997a330941;hpb=a359afebf9e55cdb46b445e3d46d728a4d6fe992;p=collectd.git diff --git a/src/daemon/plugin_mock.c b/src/daemon/plugin_mock.c index f3eefd5a..b6efa3ad 100644 --- a/src/daemon/plugin_mock.c +++ b/src/daemon/plugin_mock.c @@ -26,6 +26,10 @@ #include "plugin.h" +#if HAVE_LIBKSTAT +kstat_ctl_t *kc = NULL; +#endif /* HAVE_LIBKSTAT */ + char hostname_g[] = "example.com"; int plugin_register_complex_config (const char *type, int (*callback) (oconfig_item_t *))