aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--kernel/compat/parser.c9
2 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 05121a9..f1d3d0d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-04-20 Miklos Szeredi <mszeredi@inf.bme.hu>
+
+ * Fixed parser with modversions (Mattias Wadman)
+
2004-04-19 Miklos Szeredi <mszeredi@inf.bme.hu>
* Added mount option parser to 2.4 build
diff --git a/kernel/compat/parser.c b/kernel/compat/parser.c
index 5527c33..fa1d63e 100644
--- a/kernel/compat/parser.c
+++ b/kernel/compat/parser.c
@@ -5,9 +5,16 @@
* Version 2. See the file COPYING for more details.
*/
+#include <linux/config.h>
+#ifdef CONFIG_MODVERSIONS
+#define MODVERSIONS
+#include <linux/modversions.h>
+#endif
+
+#include "parser.h"
+
#include <linux/ctype.h>
#include <linux/module.h>
-#include <linux/parser.h>
#include <linux/slab.h>
#include <linux/string.h>