Modified Makefile to allow 'out of kernel tree' module building for 2.6.x
[yaffs2.git] / yportenv.h
index 1fc2272f8fb1c8a6aacc47e20f35d5e28f58c232..0543383066a0a24c1e3ef9f78051fde54cfb661f 100644 (file)
@@ -15,7 +15,7 @@
  *
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  *
  *
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  *
- * $Id: yportenv.h,v 1.7 2005-08-11 02:33:03 marty Exp $
+ * $Id: yportenv.h,v 1.8 2005-09-18 05:31:26 marty Exp $
  *
  */
 
  *
  */
 
@@ -28,6 +28,8 @@
 
 #elif  defined __KERNEL__
 
 
 #elif  defined __KERNEL__
 
+#include "moduleconfig.h"
+
 /* Linux kernel */
 #include <linux/config.h>
 #include <linux/kernel.h>
 /* Linux kernel */
 #include <linux/config.h>
 #include <linux/kernel.h>