Whamcloud - gitweb
kernels from 2.6.21 not need include linux/config.h, but add include
[fs/lustre-release.git] / lnet / klnds / qswlnd / qswlnd.h
index 0fe2a5e..7543ba4 100644 (file)
@@ -30,8 +30,9 @@
 
 #include <qsnet/kernel.h>
 #undef printf                                   /* nasty QSW #define */
-
+#ifdef HAVE_KERNEL_CONFIG_H
 #include <linux/config.h>
+#endif
 #include <linux/module.h>
 
 #include <elan/epcomms.h>