]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
libxml: Avoid build failure due to "implicit declaration of function".
authorBruno Haible <bruno@clisp.org>
Sun, 28 Apr 2019 12:30:05 +0000 (14:30 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 28 Apr 2019 12:30:43 +0000 (14:30 +0200)
* gnulib-local/lib/libxml/libxml.h: Include xmlstring.h only after config.h is
included.

gnulib-local/lib/libxml/libxml.h

index 031ddd4e1057527cd7ed8da2fbf1ea7834ef5829..e096c9ac1c825f7b1a994b98358b50e5be8417ea 100644 (file)
@@ -9,8 +9,6 @@
 #ifndef __XML_LIBXML_H__
 #define __XML_LIBXML_H__
 
-#include <libxml/xmlstring.h>
-
 #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 <libxml/xmlstring.h>
+
 /*
  * Internal variable indicating if a callback has been registered for
  * node creation/destruction. It avoids spending a lot of time in locking