From: Lars Magne Ingebrigtsen Date: Sat, 3 Sep 2011 22:20:00 +0000 (+0200) Subject: * Require libxml/parser.h to avoid compilation warning. X-Git-Tag: emacs-pretest-24.0.90~104^2~155^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0f2f6b6d0073d6941e4264e856478d43a3bd4820;p=emacs.git * Require libxml/parser.h to avoid compilation warning. --- diff --git a/src/ChangeLog b/src/ChangeLog index de12d8f0314..6113c2362ee 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-09-03 Lars Magne Ingebrigtsen + * Require libxml/parser.h to avoid compilation warning. + * emacs.c (shut_down_emacs): Call xmlCleanupParser on shutdown. * xml.c (parse_region): Don't call xmlCleanupParser after parsing, diff --git a/src/emacs.c b/src/emacs.c index f68c47ffed0..4cc476290c0 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -82,6 +82,10 @@ along with GNU Emacs. If not, see . */ #include #endif +#ifdef HAVE_LIBXML2 +#include +#endif + #ifndef O_RDWR #define O_RDWR 2 #endif