summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e739c81)
raw | patch | inline | side by side (parent: e739c81)
author | Florian Forster <octo@collectd.org> | |
Tue, 14 Jul 2015 06:22:18 +0000 (08:22 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Tue, 14 Jul 2015 06:22:21 +0000 (08:22 +0200) |
This hopefully fixes "make check" on Solaris, which currently fails
with:
CC common_test.o
CCLD test_common
Undefined first referenced
symbol in file
kc ./.libs/libcommon.a(common.o)
ld: fatal: symbol referencing errors. No output written to test_common
collect2: error: ld returned 1 exit status
with:
CC common_test.o
CCLD test_common
Undefined first referenced
symbol in file
kc ./.libs/libcommon.a(common.o)
ld: fatal: symbol referencing errors. No output written to test_common
collect2: error: ld returned 1 exit status
src/daemon/plugin_mock.c | patch | blob | history |
index 865288099500979c5ebaeab904899693a8e2cff1..f7bf1c016ad894f926003ad179112a6196edd161 100644 (file)
--- a/src/daemon/plugin_mock.c
+++ b/src/daemon/plugin_mock.c
#include "plugin.h"
+#if HAVE_LIBKSTAT
+kstat_ctl_t *kc = NULL;
+#endif /* HAVE_LIBKSTAT */
+
void plugin_log (int level, char const *format, ...)
{
char buffer[1024];