--- a/src/xml_pyx.c +++ b/src/xml_pyx.c @@ -21,6 +21,11 @@ #include "xmlstar.h" +/* no longer provided by libxml2 2.14+ */ +#ifndef ATTRIBUTE_UNUSED +#define ATTRIBUTE_UNUSED __attribute__((unused)) +#endif + /** * Output newline and tab characters as escapes * Required both for attribute values and character data (#PCDATA)