Whamcloud - gitweb
include liblustre only after libcfs includes for avoid break build.
authorshadow <shadow>
Fri, 21 Dec 2007 10:49:08 +0000 (10:49 +0000)
committershadow <shadow>
Fri, 21 Dec 2007 10:49:08 +0000 (10:49 +0000)
lnet/selftest/selftest.h

index f27106e..9e9fb67 100644 (file)
 
 #define LNET_ONLY
 
+#include <libcfs/kp30.h>
+#include <libcfs/libcfs.h>
 #ifndef __KERNEL__
 #include <liblustre.h> /* userland spinlock_t and atomic_t */
 #endif
-
-#include <libcfs/kp30.h>
-#include <libcfs/libcfs.h>
 #include <lnet/lnet.h>
 #include <lnet/lib-lnet.h>
 #include <lnet/lib-types.h>