Add missing #include <linux/config.h>
authorluc <luc>
Fri, 29 Jul 2005 19:57:38 +0000 (19:57 +0000)
committerluc <luc>
Fri, 29 Jul 2005 19:57:38 +0000 (19:57 +0000)
Needed to compile the code with a Makefile from the Linux tree.

yaffs_ecc.c
yaffs_ramem.c
yaffs_ramem2k.c

index 820041a2b633deeaa60029f1f43668f6fcd8a815..e1400c3ec3b7f0e562e8ad0f00750f67e5be4dc2 100644 (file)
 // Bit 0 of each entry indicates whether the entry has an odd or even parity, and therefore
 // this bytes influence on the line parity.
 
-const char *yaffs_ecc_c_version = "$Id: yaffs_ecc.c,v 1.2 2005-03-16 04:00:36 charles Exp $";
+const char *yaffs_ecc_c_version = "$Id: yaffs_ecc.c,v 1.3 2005-07-29 19:57:38 luc Exp $";
 
+#ifdef __KERNEL__
+#include <linux/config.h>
+#endif
 
 #include "yaffs_ecc.h"
 
index da9a2adf14d9b526ab2305c8b5ff9ba1fba7e421..f4166166dea5d1eb187c73d0c90b527426c66a51 100644 (file)
  //yaffs_ramem.c
  // Since this creates the RAM block at start up it is pretty useless for testing the scanner.
 
-const char *yaffs_ramem_c_version = "$Id: yaffs_ramem.c,v 1.2 2005-07-19 20:41:59 charles Exp $";
+const char *yaffs_ramem_c_version = "$Id: yaffs_ramem.c,v 1.3 2005-07-29 19:57:38 luc Exp $";
 
 #ifndef __KERNEL__
 #define CONFIG_YAFFS_RAM_ENABLED
+#else
+#include <linux/config.h>
 #endif
 
 #ifdef CONFIG_YAFFS_RAM_ENABLED
index 67f604bd7de46a76cf4613b67a637480e77ece96..f32afe5794899e621fe9a2f7cba20295793cd74c 100644 (file)
  //yaffs_ramem2k.c: RAM emulation in-kernel for 2K pages (YAFFS2)
 
 
-const char *yaffs_ramem2k_c_version = "$Id: yaffs_ramem2k.c,v 1.2 2005-04-24 09:26:08 charles Exp $";
+const char *yaffs_ramem2k_c_version = "$Id: yaffs_ramem2k.c,v 1.3 2005-07-29 19:57:38 luc Exp $";
 
 #ifndef __KERNEL__
 #define CONFIG_YAFFS_RAM_ENABLED
+#else
+#include <linux/config.h>
 #endif
 
 #ifdef CONFIG_YAFFS_RAM_ENABLED