diff --git a/chvalid.c b/chvalid.c index f4fa44ac..fb2c715a 100644 --- a/chvalid.c +++ b/chvalid.c @@ -14,6 +14,8 @@ #include "libxml.h" #include +#include + /* * The initial tables ({func_name}_tab) are used to validate whether a * single-byte character is within the specified group. Each table diff --git a/genChRanges.py b/genChRanges.py index 47b46098..4e229d19 100755 --- a/genChRanges.py +++ b/genChRanges.py @@ -279,6 +279,8 @@ output.write( #include "libxml.h" #include +#include + /* * The initial tables ({func_name}_tab) are used to validate whether a * single-byte character is within the specified group. Each table diff --git a/libxml.h b/libxml.h index 31b90e1c..722929f7 100644 --- a/libxml.h +++ b/libxml.h @@ -34,15 +34,7 @@ #define SYSCONFDIR "/etc" #endif -#ifndef WITH_TRIO -#include -#else -/** - * TRIO_REPLACE_STDIO: - * - * This macro is defined if the trio string formatting functions are to - * be used instead of the default stdio ones. - */ +#ifdef WITH_TRIO #define TRIO_REPLACE_STDIO #include "trio.h" #endif diff --git a/xmllint.c b/xmllint.c index d398cd5a..2f0ada1f 100644 --- a/xmllint.c +++ b/xmllint.c @@ -10,6 +10,7 @@ #include #include +#include #include #include #include