projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2ecc06
)
now builds for those who are too lazy to upgrade their xml libraries
author
Steve Baker
<steve@stevebaker.org>
Sun, 27 May 2001 17:02:25 +0000
(17:02 +0000)
committer
Steve 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
patch
|
blob
|
history
diff --git
a/tools/gstreamer-complete.c
b/tools/gstreamer-complete.c
index
aaf70ac
..
26ad350
100644
(file)
--- a/
tools/gstreamer-complete.c
+++ b/
tools/gstreamer-complete.c
@@
-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"