now builds for those who are too lazy to upgrade their xml libraries

Original commit message from CVS:
now builds for those who are too lazy to upgrade their xml libraries
This commit is contained in:
Steve Baker 2001-05-27 17:02:25 +00:00
parent b2ecc06ef1
commit b5cd8b4b99

View 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"