summaryrefslogtreecommitdiff
path: root/gst/gstxml.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2002-01-11 07:21:26 +0000
committerAndy Wingo <wingo@pobox.com>2002-01-11 07:21:26 +0000
commitc51e7cd2fe7e3bcad0935601f34bb33cd7b1ded9 (patch)
treef04cb38e288dda9c50d2b92094c8ecd6302e26f8 /gst/gstxml.c
parent099074586cedf7713c290db9523461adbab1186e (diff)
cimpile fix for libxml1
Original commit message from CVS: cimpile fix for libxml1
Diffstat (limited to 'gst/gstxml.c')
-rw-r--r--gst/gstxml.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/gstxml.c b/gst/gstxml.c
index 121ecf86e..6e8036cd1 100644
--- a/gst/gstxml.c
+++ b/gst/gstxml.c
@@ -139,7 +139,9 @@ gint
gst_xml_write_file (GstElement *element, FILE *out)
{
xmlDocPtr cur;
+#ifdef HAVE_LIBXML2
xmlOutputBufferPtr buf;
+#endif
const char * encoding;
xmlCharEncodingHandlerPtr handler = NULL;
int indent;