From: Cosmin Ioiart Date: Thu, 23 Feb 2012 14:34:32 +0000 (+0100) Subject: Added safe-guard for kstat libraries X-Git-Tag: collectd-5.1.0~2^2~6 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8e36aa7fbb102c08c46666bcd7ec6ee43c40c684;p=collectd.git Added safe-guard for kstat libraries --- diff --git a/src/nfs.c b/src/nfs.c index 17a09b6c..9293ed53 100644 --- a/src/nfs.c +++ b/src/nfs.c @@ -24,9 +24,9 @@ #include "common.h" #include "plugin.h" +#if HAVE_KSTAT_H #include -#include -#include +#endif /* see /proc/net/rpc/nfs