X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=src%2Ffcxml.c;h=ef116d05aa08d4c749734defee29094f75c3a525;hb=d0f07b8d582499fdc6fa0ca6c5e2ef3727baddae;hp=09aa79ebaaed79f86984720bafdbe3a2858e5fa3;hpb=8ec077f22b2f9fd693abfda7d405ac572594be99;p=fontconfig.git diff --git a/src/fcxml.c b/src/fcxml.c index 09aa79e..ef116d0 100644 --- a/src/fcxml.c +++ b/src/fcxml.c @@ -25,7 +25,18 @@ #include #include "fcint.h" +#ifndef HAVE_EXPAT +#define HAVE_EXPAT 1 +#endif + +#ifndef HAVE_XML2 +#define HAVE_XML2 0 +#endif + #if HAVE_EXPAT +#ifndef HAVE_XMLPARSE_H +#define HAVE_XMLPARSE_H 0 +#endif #if HAVE_XMLPARSE_H #include #else @@ -1135,7 +1146,7 @@ FcParseAlias (FcConfigParse *parse) if (edit) { test = FcTestCreate (FcQualAny, - FcStrCopy ((FcChar8 *) "family"), + FC_FAMILY, FcOpEqual, family); if (test)