]> git.wh0rd.org - fontconfig.git/blobdiff - src/fcxml.c
Replace silly avl sort with qsort, add FcPatternEqual
[fontconfig.git] / src / fcxml.c
index 4993eb44f271230de096e53d54e55aea936e3423..1aa282de130b376054c51ccabd538048e59d1808 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $XFree86: xc/lib/fontconfig/src/fcxml.c,v 1.6 2002/02/28 16:51:48 keithp Exp $
+ * $XFree86: xc/lib/fontconfig/src/fcxml.c,v 1.7 2002/05/21 17:06:22 keithp Exp $
  *
  * Copyright © 2002 Keith Packard, member of The XFree86 Project, Inc.
  *
 
 #include <stdarg.h>
 #include "fcint.h"
+
+#if HAVE_EXPAT
 #if HAVE_XMLPARSE_H
 #include <xmlparse.h>
 #else
 #include <expat.h>
 #endif
+#endif
+
+#if HAVE_XML2
+#include "fclibxml2.h"
+#endif
 
 FcTest *
 FcTestCreate (FcQual qual, const FcChar8 *field, FcOp compare, FcExpr *expr)