After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 463435 - Skip #include <libxml/parser.h> in when not needed
Skip #include <libxml/parser.h> in when not needed
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal enhancement
: 0.10.30
Assigned To: Stefan Sauer (gstreamer, gtkdoc dev)
GStreamer Maintainers
Depends on:
Reported: 2007-08-04 15:22 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2010-06-26 09:41 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Stefan Sauer (gstreamer, gtkdoc dev) 2007-08-04 15:22:25 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.
Comment 1 David Schleef 2007-08-06 21:50:52 UTC
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.
Comment 2 Tim-Philipp Müller 2010-06-26 09:41:31 UTC
commit 71f3a6f0f7a347d2d2a92d33c189c6cba12c4577
Author: Tim-Philipp Müller <>
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
    See #463435.