diff options
Diffstat (limited to 'innobase/pars')
-rw-r--r-- | innobase/pars/lexyy.c | 1 | ||||
-rw-r--r-- | innobase/pars/pars0grm.c | 3 | ||||
-rw-r--r-- | innobase/pars/pars0grm.y | 3 | ||||
-rw-r--r-- | innobase/pars/pars0lex.l | 3 |
4 files changed, 6 insertions, 4 deletions
diff --git a/innobase/pars/lexyy.c b/innobase/pars/lexyy.c index 0a333c726ff..f7edc9d195f 100644 --- a/innobase/pars/lexyy.c +++ b/innobase/pars/lexyy.c @@ -8,6 +8,7 @@ #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 +#include "univ.i" #include <stdio.h> diff --git a/innobase/pars/pars0grm.c b/innobase/pars/pars0grm.c index 1b7b31f6443..05b75398084 100644 --- a/innobase/pars/pars0grm.c +++ b/innobase/pars/pars0grm.c @@ -94,9 +94,8 @@ /* The value of the semantic attribute is a pointer to a query tree node que_node_t */ -#include <math.h> - #include "univ.i" +#include <math.h> /* Can't be before univ.i */ #include "pars0pars.h" #include "mem0mem.h" #include "que0types.h" diff --git a/innobase/pars/pars0grm.y b/innobase/pars/pars0grm.y index 67289222594..a142d04301e 100644 --- a/innobase/pars/pars0grm.y +++ b/innobase/pars/pars0grm.y @@ -14,9 +14,8 @@ the InnoDB parser. /* The value of the semantic attribute is a pointer to a query tree node que_node_t */ -#include <math.h> - #include "univ.i" +#include <math.h> /* Can't be before univ.i */ #include "pars0pars.h" #include "mem0mem.h" #include "que0types.h" diff --git a/innobase/pars/pars0lex.l b/innobase/pars/pars0lex.l index e9b39861dd2..97875ffcc45 100644 --- a/innobase/pars/pars0lex.l +++ b/innobase/pars/pars0lex.l @@ -28,6 +28,9 @@ How to make the InnoDB parser and lexer C files: 6. Remove the #include of unistd.h from about line 2500 of lexyy.c +7. Add '#include "univ.i"' before #include <stdio.h> in lexyy.c + (Needed for AIX) + These instructions seem to work at least with bison-1.28 and flex-2.5.4 on Linux. *******************************************************/ |