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/gstpluginloader.c | |
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/gstpluginloader.c')
-rw-r--r-- | gst/gstpluginloader.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/gstpluginloader.c b/gst/gstpluginloader.c index dd0046bd7a..b4b3d606d3 100644 --- a/gst/gstpluginloader.c +++ b/gst/gstpluginloader.c @@ -24,6 +24,8 @@ # include "config.h" #endif +#include <gst/gst_private.h> + #ifndef G_OS_WIN32 #include <sys/types.h> #include <sys/wait.h> @@ -33,7 +35,6 @@ #endif #include <errno.h> -#include <gst/gst_private.h> #include <gst/gstconfig.h> #include <gst/gstpoll.h> |