From 8e36aa7fbb102c08c46666bcd7ec6ee43c40c684 Mon Sep 17 00:00:00 2001 From: Cosmin Ioiart Date: Thu, 23 Feb 2012 15:34:32 +0100 Subject: [PATCH] Added safe-guard for kstat libraries --- src/nfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2