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.
commit 71f3a6f0f7a347d2d2a92d33c189c6cba12c4577 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> 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 defined. See #463435.