GNOME Bugzilla – Bug 516371
does not build without xml usage
Last modified: 2008-02-14 14:50:22 UTC
if one disables xml-registry and load-save, we don't include libxml/parser.h which pulls stdlib.h. This reveals that most source forget to include it: cc1: warnings being treated as errors spectrum-example.c: In Funktion »main«: spectrum-example.c:103: Warnung: Implizite Deklaration der Funktion »exit« spectrum-example.c:103: Warnung: Unverträgliche implizite Deklaration der eingebauten Funktion »exit« make[4]: *** [spectrum_example-spectrum-example.o] Fehler 1 make[4]: Verlasse Verzeichnis '/home/ensonic/projects/gstreamer.portfwd/gst-plugins-good/tests/examples/spectrum'
Created attachment 105205 [details] [review] add missing include
2008-02-14 Stefan Kost <ensonic@users.sf.net> * tests/examples/spectrum/spectrum-example.c: Add missing include to fix compilation when libxml usage is disabled. Fixes: #516371