Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use special macro for print time_t, cleanup in includes.
[fs/lustre-release.git]
/
snmp
/
lustre-snmp-trap.c
diff --git
a/snmp/lustre-snmp-trap.c
b/snmp/lustre-snmp-trap.c
index
7caf5ce
..
6fa62fa
100644
(file)
--- a/
snmp/lustre-snmp-trap.c
+++ b/
snmp/lustre-snmp-trap.c
@@
-33,7
+33,9
@@
*/
#include <sys/types.h>
+#if defined (__linux__)
#include <sys/vfs.h>
+#endif
#include <dirent.h>
#include <sys/stat.h>
#include <unistd.h>