diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-01-20 01:09:55 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-01-20 01:48:56 +0000 |
commit | 087aa6ced43d84abb487d1c386b62232c6d4d4fa (patch) | |
tree | 0e272472909f4758198c6d311ba5ac293fbd219c /gst/parse/grammar.y | |
parent | 745b35e7d493f270804cedb35d90a1653968e29b (diff) | |
download | gstreamer-087aa6ced43d84abb487d1c386b62232c6d4d4fa.tar.gz |
gst_private.h: make sure gst_private.h is included before glib.h
For the reason outlined at the beginning of gst_private.h (inline
functions in glib may need the g_log_domain variable). Also include
gst_private.h before using any G_OS_* defines, esp. in plugin loader.
Diffstat (limited to 'gst/parse/grammar.y')
-rw-r--r-- | gst/parse/grammar.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/parse/grammar.y b/gst/parse/grammar.y index 00d0e9dc85..81a5e2a62f 100644 --- a/gst/parse/grammar.y +++ b/gst/parse/grammar.y @@ -1,11 +1,12 @@ %{ +#include "../gst_private.h" + #include <glib-object.h> #include <glib.h> #include <stdio.h> #include <string.h> #include <stdlib.h> -#include "../gst_private.h" #include "../gst-i18n-lib.h" #include "../gstconfig.h" |