From f1dd6f4226f72e7a1e12931ac03fc683e9a0b67d Mon Sep 17 00:00:00 2001 From: Scott D Phillips Date: Thu, 17 Nov 2016 10:35:50 -0800 Subject: [PATCH] parse: Don't #include It isn't needed and isn't present in non-posix environments like windows with MSVC or mingw. https://bugzilla.gnome.org/show_bug.cgi?id=774641 --- ges/ges-command-line-formatter.c | 1 + ges/parse.l | 1 + 2 files changed, 2 insertions(+) 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[ ]+