emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r105650: * Require libxml/parser.h to


From: Lars Magne Ingebrigtsen
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105650: * Require libxml/parser.h to avoid compilation warning.
Date: Sun, 04 Sep 2011 00:20:00 +0200
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105650
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Sun 2011-09-04 00:20:00 +0200
message:
  * Require libxml/parser.h to avoid compilation warning.
modified:
  src/ChangeLog
  src/emacs.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-09-03 21:59:25 +0000
+++ b/src/ChangeLog     2011-09-03 22:20:00 +0000
@@ -1,5 +1,7 @@
 2011-09-03  Lars Magne Ingebrigtsen  <address@hidden>
 
+       * 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,

=== modified file 'src/emacs.c'
--- a/src/emacs.c       2011-09-03 21:59:25 +0000
+++ b/src/emacs.c       2011-09-03 22:20:00 +0000
@@ -82,6 +82,10 @@
 #include <sys/personality.h>
 #endif
 
+#ifdef HAVE_LIBXML2
+#include <libxml/parser.h>
+#endif
+
 #ifndef O_RDWR
 #define O_RDWR 2
 #endif


reply via email to

[Prev in Thread] Current Thread [Next in Thread]