I could fix this by doing this:
--- fix_innodb_for_backup_5.1_plugin_1.0.7.patch.orig 2010-11-18 10:29:43.000000000 +0100 +++ fix_innodb_for_backup_5.1_plugin_1.0.7.patch 2010-11-29 09:30:13.000000000 +0100 @@ -143,6 +143,15 @@ diff -ru mysql-5.1.46_orig/storage/innod diff -ru mysql-5.1.46_orig/storage/innodb_plugin/fil/fil0fil.c mysql-5.1.46/storage/innodb_plugin/fil/fil0fil.c --- mysql-5.1.46_orig/storage/innodb_plugin/fil/fil0fil.c 2010-04-06 23:07:12.000000000 +0900 +++ mysql-5.1.46/storage/innodb_plugin/fil/fil0fil.c 2010-08-24 19:04:11.158519001 +0900 +@@ -25,6 +25,8 @@ Created 10/25/1995 Heikki Tuuri + + #include "fil0fil.h" + ++#include "pars0pars.h" ++ + #include "mem0mem.h" + #include "hash0hash.h" + #include "os0file.h" @@ -283,7 +283,7 @@
/** The tablespace memory cache. This variable is NULL before the module is
I could fix this by doing this:
--- fix_innodb_ for_backup_ 5.1_plugin_ 1.0.7.patch. orig 2010-11-18 10:29:43.000000000 +0100 for_backup_ 5.1_plugin_ 1.0.7.patch 2010-11-29 09:30:13.000000000 +0100 1.46_orig/ storage/ innod 1.46_orig/ storage/ innodb_ plugin/ fil/fil0fil. c mysql-5. 1.46/storage/ innodb_ plugin/ fil/fil0fil. c 1.46_orig/ storage/ innodb_ plugin/ fil/fil0fil. c 2010-04-06 23:07:12.000000000 +0900 1.46/storage/ innodb_ plugin/ fil/fil0fil. c 2010-08-24 19:04:11.158519001 +0900
+++ fix_innodb_
@@ -143,6 +143,15 @@ diff -ru mysql-5.
diff -ru mysql-5.
--- mysql-5.
+++ mysql-5.
+@@ -25,6 +25,8 @@ Created 10/25/1995 Heikki Tuuri
+
+ #include "fil0fil.h"
+
++#include "pars0pars.h"
++
+ #include "mem0mem.h"
+ #include "hash0hash.h"
+ #include "os0file.h"
@@ -283,7 +283,7 @@
/** The tablespace memory cache. This variable is NULL before the module is