From: Bruno Haible Date: Sun, 28 Apr 2019 12:30:05 +0000 (+0200) Subject: libxml: Avoid build failure due to "implicit declaration of function". X-Git-Tag: v0.20~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e7b5fbc022c6553d985714ef4b0f7edf4d77921;p=thirdparty%2Fgettext.git libxml: Avoid build failure due to "implicit declaration of function". * gnulib-local/lib/libxml/libxml.h: Include xmlstring.h only after config.h is included. --- diff --git a/gnulib-local/lib/libxml/libxml.h b/gnulib-local/lib/libxml/libxml.h index 031ddd4e1..e096c9ac1 100644 --- a/gnulib-local/lib/libxml/libxml.h +++ b/gnulib-local/lib/libxml/libxml.h @@ -9,8 +9,6 @@ #ifndef __XML_LIBXML_H__ #define __XML_LIBXML_H__ -#include - #ifndef NO_LARGEFILE_SOURCE #ifndef _LARGEFILE_SOURCE #define _LARGEFILE_SOURCE @@ -72,6 +70,8 @@ int vfprintf(FILE *, const char *, va_list); #define XML_POP_WARNINGS #endif +#include + /* * Internal variable indicating if a callback has been registered for * node creation/destruction. It avoids spending a lot of time in locking