diff --git a/ges/ges-command-line-formatter.c b/ges/ges-command-line-formatter.c index ff17e32d5f..beaf24417b 100644 --- a/ges/ges-command-line-formatter.c +++ b/ges/ges-command-line-formatter.c @@ -23,6 +23,7 @@ #include "ges/ges-structured-interface.h" #include "ges-structure-parser.h" #include "ges-internal.h" +#define YY_NO_UNISTD_H #include "ges-parse-lex.h" struct _GESCommandLineFormatterPrivate diff --git a/ges/parse.l b/ges/parse.l index 04f533af97..b846f40875 100644 --- a/ges/parse.l +++ b/ges/parse.l @@ -9,6 +9,7 @@ %option extra-type="GESStructureParser *" %option never-interactive %option noinput +%option nounistd CLIP [ ]+\+clip[ ]+ TEST_CLIP [ ]+\+test-clip[ ]+