Whamcloud - gitweb
Branch b1_6
[fs/lustre-release.git] / lnet / libcfs / linux / linux-proc.c
index 3be3bee..f39e599 100644 (file)
@@ -48,7 +48,9 @@
 #include <linux/stat.h>
 #include <linux/list.h>
 #include <asm/uaccess.h>
-#include <asm/segment.h>
+#ifdef HAVE_SEGMENT_H
+# include <asm/segment.h>
+#endif
 
 #include <linux/proc_fs.h>
 #include <linux/sysctl.h>