parse: Don't #include <unistd.h>

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
This commit is contained in:
Scott D Phillips 2016-11-17 10:35:50 -08:00 committed by Thibault Saunier
parent 5511124bc0
commit f1dd6f4226
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -9,6 +9,7 @@
%option extra-type="GESStructureParser *"
%option never-interactive
%option noinput
%option nounistd
CLIP [ ]+\+clip[ ]+
TEST_CLIP [ ]+\+test-clip[ ]+