[Yaffs] [PATCH YAFFS2 01/15] missing-config.h
Luc Van Oostenryck
luc.vanoostenryck at looxix.net
Wed Jul 27 23:59:57 BST 2005
Add missing #include <linux/config.h>.
-- Luc Van Oostenryck
-------------- next part --------------
diff --git a/fs/yaffs2/yaffs_ecc.c b/fs/yaffs2/yaffs_ecc.c
--- a/fs/yaffs2/yaffs_ecc.c
+++ b/fs/yaffs2/yaffs_ecc.c
@@ -31,6 +31,9 @@
const char *yaffs_ecc_c_version = "$Id: yaffs_ecc.c,v 1.2 2005/03/16 04:00:36 charles Exp $";
+#ifdef __KERNEL__
+#include <linux/config.h>
+#endif
#include "yaffs_ecc.h"
diff --git a/fs/yaffs2/yaffs_ramem.c b/fs/yaffs2/yaffs_ramem.c
--- a/fs/yaffs2/yaffs_ramem.c
+++ b/fs/yaffs2/yaffs_ramem.c
@@ -19,6 +19,8 @@ const char *yaffs_ramem_c_version = "$Id
#ifndef __KERNEL__
#define CONFIG_YAFFS_RAM_ENABLED
+#else
+#include <linux/config.h>
#endif
#ifdef CONFIG_YAFFS_RAM_ENABLED
diff --git a/fs/yaffs2/yaffs_ramem2k.c b/fs/yaffs2/yaffs_ramem2k.c
--- a/fs/yaffs2/yaffs_ramem2k.c
+++ b/fs/yaffs2/yaffs_ramem2k.c
@@ -19,6 +19,8 @@ const char *yaffs_ramem2k_c_version = "$
#ifndef __KERNEL__
#define CONFIG_YAFFS_RAM_ENABLED
+#else
+#include <linux/config.h>
#endif
#ifdef CONFIG_YAFFS_RAM_ENABLED
More information about the yaffs
mailing list