summaryrefslogtreecommitdiff
path: root/gnulib-local
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-04-28 14:30:05 +0200
committerBruno Haible <bruno@clisp.org>2019-04-28 14:30:43 +0200
commit5e7b5fbc022c6553d985714ef4b0f7edf4d77921 (patch)
tree8b6e8eba5cf12d895edcefb8d050d7e3598b582f /gnulib-local
parente4c914eeb97f42aaa8bbe4d4245b6e6d7357e3c6 (diff)
downloadgettext-5e7b5fbc022c6553d985714ef4b0f7edf4d77921.tar.gz
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.
Diffstat (limited to 'gnulib-local')
-rw-r--r--gnulib-local/lib/libxml/libxml.h4
1 files changed, 2 insertions, 2 deletions
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 <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