From 22e5236d63b249166397c7c021358b4eb97e0d79 Mon Sep 17 00:00:00 2001
From: shadow <shadow>
Date: Fri, 21 Dec 2007 10:49:08 +0000
Subject: [PATCH] include liblustre only after libcfs includes for avoid break
 build.

---
 lnet/selftest/selftest.h | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lnet/selftest/selftest.h b/lnet/selftest/selftest.h
index f27106ed5d..9e9fb67539 100644
--- a/lnet/selftest/selftest.h
+++ b/lnet/selftest/selftest.h
@@ -10,12 +10,11 @@
 
 #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>
-- 
GitLab