]> git.eshelyaron.com Git - emacs.git/commitdiff
* Require libxml/parser.h to avoid compilation warning.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 3 Sep 2011 22:20:00 +0000 (00:20 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 3 Sep 2011 22:20:00 +0000 (00:20 +0200)
src/ChangeLog
src/emacs.c

index de12d8f0314d439a88746921235220a7017d0187..6113c2362ee1e3e2ea3d26d2aad4ab39fa387728 100644 (file)
@@ -1,5 +1,7 @@
 2011-09-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * 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,
index f68c47ffed0c9e7af6a7c087f537e654ed2d1118..4cc476290c03a3d14066049940b20eb15ebc5d08 100644 (file)
@@ -82,6 +82,10 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #include <sys/personality.h>
 #endif
 
+#ifdef HAVE_LIBXML2
+#include <libxml/parser.h>
+#endif
+
 #ifndef O_RDWR
 #define O_RDWR 2
 #endif