Whamcloud - gitweb
b=20339
authorpravins <pravins>
Wed, 12 Aug 2009 19:10:59 +0000 (19:10 +0000)
committerpravins <pravins>
Wed, 12 Aug 2009 19:10:59 +0000 (19:10 +0000)
i=alexey.lyashkov
i=ed
fix Cray build failure.

libcfs/include/libcfs/linux/libcfs.h

index eb0adcf..e1a0502 100644 (file)
@@ -55,7 +55,9 @@
 #include <libcfs/linux/linux-tcpip.h>
 #include <libcfs/linux/kp30.h>
 
+#ifdef HAVE_ASM_TYPES_H
 #include <asm/types.h>
+#endif
 #include <linux/types.h>
 #include <asm/timex.h>
 #include <linux/sched.h> /* THREAD_SIZE */