Whamcloud - gitweb
LU-7394 obd: remove HAVE_SELINUX_IS_ENABLED
[fs/lustre-release.git] / lustre / obdclass / obd_mount_server.c
index 7f2e33a..4452f05 100644 (file)
@@ -46,6 +46,8 @@
 #define PRINT_CMD CDEBUG
 #define PRINT_MASK (D_SUPER | D_CONFIG)
 
+#include <linux/types.h>
+#include <linux/selinux.h>
 #include <linux/statfs.h>
 #include <obd.h>
 #include <obd_class.h>
@@ -58,9 +60,6 @@
 #ifdef HAVE_KERNEL_LOCKED
 #include <linux/smp_lock.h>
 #endif
-#ifdef HAVE_SELINUX_IS_ENABLED
-#include <linux/selinux.h>
-#endif
 
 /*********** mount lookup *********/