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]
/
lnet
/
selftest
/
selftest.h
diff --git
a/lnet/selftest/selftest.h
b/lnet/selftest/selftest.h
index
dd97726
..
485570b
100644
(file)
--- a/
lnet/selftest/selftest.h
+++ b/
lnet/selftest/selftest.h
@@
-11,6
+11,10
@@
#define LNET_ONLY
#ifndef __KERNEL__
#define LNET_ONLY
#ifndef __KERNEL__
+/* XXX workaround XXX */
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
#include <liblustre.h> /* userland spinlock_t and atomic_t */
#endif
#include <libcfs/kp30.h>
#include <liblustre.h> /* userland spinlock_t and atomic_t */
#endif
#include <libcfs/kp30.h>