Include compatability defines for old versions of libxml1

Original commit message from CVS:
Include compatability defines for old versions of libxml1
This commit is contained in:
Richard Boulton 2001-02-16 13:13:16 +00:00
parent 681c6e7ad2
commit acfb1fc447

View file

@ -26,6 +26,13 @@
#include <parser.h> // NOTE: This is xml-config's fault #include <parser.h> // NOTE: This is xml-config's fault
// Include compatability defines: if libxml hasn't already defined these,
// we have an old version 1.x
#ifndef xmlChildrenNode
#define xmlChildrenNode childs
#define xmlRootNode root
#endif
#include <gst/gstobject.h> #include <gst/gstobject.h>
#include <gst/gstbuffer.h> #include <gst/gstbuffer.h>
#include <gst/cothreads.h> #include <gst/cothreads.h>