GNOME Bugzilla – Bug 463435
Skip #include <libxml/parser.h> in gstconfig.h.in when not needed
Last modified: 2010-06-26 09:41:31 UTC
this include need to be move to where its needed. Beeing in gstconfig.h has the negative sideeffect that it automatically inclue stdlib.h and math.h and thus lots of gstreamer source forget to include it. when building with xml disabled it leads to compilation failure.
It's unfortunately part of the API, so removing it from gstconfig.h would have to wait for 0.11. However, it makes sense to fix all the code that relies on it.
Author: Tim-Philipp Müller <email@example.com>
Date: Sat Jun 26 01:01:49 2010 +0100
Don't include <libxml/parser.h> from public headers if GST_DISABLE_DEPRECATED is defined
Since everything GstXML related has been deprecated, we can now skip the
libxml includes from the public headers when GST_DISABLE_DEPRECATED is