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 aaf70ace96895bd8bd79732d3ceaa5fae87379dc..26ad350829c67045c4c7f6ccff0d67cdfab189c8 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"