gst/gst_private.h: Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes...
authorTim-Philipp Müller <tim@centricular.net>
Fri, 29 Aug 2008 14:12:02 +0000 (14:12 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 29 Aug 2008 14:12:02 +0000 (14:12 +0000)
Original commit message from CVS:
* gst/gst_private.h:
Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
build with --disable-gst-debug.

ChangeLog
gst/gst_private.h

index fb5d771..aeaa785 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
+
+       * gst/gst_private.h:
+         Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
+         build with --disable-gst-debug.
+
 2008-08-28  David Schleef  <ds@schleef.org>
 
        * gst/gstpadtemplate.c: Revert last change, since it breaks
index 790f4e2..49e6371 100644 (file)
@@ -41,6 +41,9 @@ extern const char             g_log_domain_gstreamer[];
 #include "gstregistry.h"
 #include "gststructure.h"
 
+/* we need this in pretty much all files */
+#include "gstinfo.h"
+
 G_BEGIN_DECLS
 
 /* used by gstparse.c and grammar.y */
@@ -93,8 +96,6 @@ gboolean              gst_registry_xml_write_cache    (GstRegistry * registry, const char *lo
 
 #ifndef GST_DISABLE_GST_DEBUG
 
-#include <gst/gstinfo.h>
-
 GST_EXPORT GstDebugCategory *GST_CAT_GST_INIT;
 GST_EXPORT GstDebugCategory *GST_CAT_AUTOPLUG;
 GST_EXPORT GstDebugCategory *GST_CAT_AUTOPLUG_ATTEMPT;