From 24514386aa4c47fb13ad69eefaf587b1a1e1341a Mon Sep 17 00:00:00 2001 From: Nelson Ferreira Date: Mon, 30 Jul 2012 22:51:14 -0400 Subject: [PATCH] Fix build failure of cl in newer gcc and bison combinations * modules/cl/cl-loop.h: Include cl-loop-parser.h only after cl_loop_sentence_t is defined. Signed-off-by: Nelson Ferreira --- modules/cl/cl-loop.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/cl/cl-loop.h b/modules/cl/cl-loop.h index c13336e..432c3ab 100644 --- a/modules/cl/cl-loop.h +++ b/modules/cl/cl-loop.h @@ -40,7 +40,6 @@ #define INCLUDED_cl_loop_h_ 1 #include "cl.h" -#include "cl-loop-parser.h" #include "ent/ent-optable.h" #include "ent/ent-binary-op.h" #include "ent/ent-binary-rel.h" @@ -92,6 +91,8 @@ typedef struct cl_loop_append_clause_s cl_loop_append_clause_t; typedef struct cl_loop_accu_clause_s cl_loop_accu_clause_t; typedef struct cl_loop_inifinret_clause_s cl_loop_inifinret_clause_t; +#include "cl-loop-parser.h" + /* nasty nasty nasty * tg reported that bison 2.4.1 may not define YYSTYPE, we go the * utmost safe way and just define it here */ -- 2.34.1