projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a37c539
)
Added safe-guard for kstat libraries
author
Cosmin Ioiart
<cioiart+dev@gmail.com>
Thu, 23 Feb 2012 14:34:32 +0000
(15:34 +0100)
committer
Florian Forster
<octo@collectd.org>
Sun, 18 Mar 2012 09:30:20 +0000
(10:30 +0100)
src/nfs.c
patch
|
blob
|
history
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