now builds for those who are too lazy to upgrade their xml libraries
authorSteve Baker <steve@stevebaker.org>
Sun, 27 May 2001 17:02:25 +0000 (17:02 +0000)
committerSteve Baker <steve@stevebaker.org>
Sun, 27 May 2001 17:02:25 +0000 (17:02 +0000)
Original commit message from CVS:
now builds for those who are too lazy to upgrade their xml libraries

tools/gstreamer-complete.c

index aaf70ac..26ad350 100644 (file)
@@ -1,6 +1,14 @@
 #include <stdio.h>
 #include <string.h>
-#include <parser.h>
+#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 <glib.h>
 
 #include "config.h"