projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added safe-guard for kstat libraries
[collectd.git]
/
src
/
nfs.c
diff --git
a/src/nfs.c
b/src/nfs.c
index
17a09b6
..
9293ed5
100644
(file)
--- a/
src/nfs.c
+++ b/
src/nfs.c
@@
-24,9
+24,9
@@
#include "common.h"
#include "plugin.h"
+#if HAVE_KSTAT_H
#include <kstat.h>
-#include <stdio.h>
-#include <stdint.h>
+#endif
/*
see /proc/net/rpc/nfs