From 4c59db0dac70ac6815d9002baaa91dac1c9559db Mon Sep 17 00:00:00 2001 From: krasimir Date: Fri, 26 May 2017 08:54:12 +0000 Subject: another fix for the compilation of the bindings to the runtime --- src/runtime/c/pgf/linearizer.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/runtime') diff --git a/src/runtime/c/pgf/linearizer.h b/src/runtime/c/pgf/linearizer.h index 9d2d607ee..816181090 100644 --- a/src/runtime/c/pgf/linearizer.h +++ b/src/runtime/c/pgf/linearizer.h @@ -2,7 +2,6 @@ #define PGF_LINEARIZER_H_ #include -#include /// Linearization of abstract syntax trees. @@ -13,6 +12,8 @@ /// A concrete syntax tree typedef GuVariant PgfCncTree; +#ifdef PGF_DATA_H_ + typedef enum { PGF_CNC_TREE_APP, PGF_CNC_TREE_CHUNKS, @@ -47,6 +48,8 @@ typedef struct { PgfLiteral lit; } PgfCncTreeLit; +#endif + /// An enumeration of #PgfCncTree trees. typedef GuEnum PgfCncTreeEnum; -- cgit v1.2.3