X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Futils_vl_lookup.c;h=f85910e1737e7b5d1c328a6e9e15896be2d60d99;hb=0ba2f3a1a1db4ed7ce6f990b22b9605e19fc7ab9;hp=b15dcf0225bb66257fbb4303a663df9e49bebc31;hpb=a5218a7626e9d1800f13d6580c708833bc62469f;p=collectd.git diff --git a/src/utils_vl_lookup.c b/src/utils_vl_lookup.c index b15dcf02..f85910e1 100644 --- a/src/utils_vl_lookup.c +++ b/src/utils_vl_lookup.c @@ -1,6 +1,6 @@ /** * collectd - src/utils_vl_lookup.c - * Copyright (C) 2012 Florian Forster + * Copyright (C) 2012 Florian Forster * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -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 { \