Whamcloud - gitweb
LU-2675 build: assume __linux__ and __KERNEL__
[fs/lustre-release.git] / libcfs / include / libcfs / err.h
index 3d24510..36e9dc6 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef LIBCFS_ERR_H_
 #define LIBCFS_ERR_H_
 
-#if defined(__linux__) && defined(__KERNEL__)
+#ifdef __KERNEL__
 # include <linux/err.h>
 #else /* __KERNEL__ */