From 0609c4cabefbdbd5c3addfbc7dd23b9233953d33 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 29 Aug 2008 14:12:02 +0000 Subject: [PATCH] gst/gst_private.h: Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes build with --disable-gst-debug. 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 | 6 ++++++ gst/gst_private.h | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index fb5d771..aeaa785 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-08-29 Tim-Philipp Müller + + * 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 * gst/gstpadtemplate.c: Revert last change, since it breaks diff --git a/gst/gst_private.h b/gst/gst_private.h index 790f4e2..49e6371 100644 --- a/gst/gst_private.h +++ b/gst/gst_private.h @@ -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_EXPORT GstDebugCategory *GST_CAT_GST_INIT; GST_EXPORT GstDebugCategory *GST_CAT_AUTOPLUG; GST_EXPORT GstDebugCategory *GST_CAT_AUTOPLUG_ATTEMPT; -- 2.7.4