aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog2
-rw-r--r--src/emacs.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index de12d8f0314..6113c2362ee 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12011-09-03 Lars Magne Ingebrigtsen <larsi@gnus.org> 12011-09-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 2
3 * Require libxml/parser.h to avoid compilation warning.
4
3 * emacs.c (shut_down_emacs): Call xmlCleanupParser on shutdown. 5 * emacs.c (shut_down_emacs): Call xmlCleanupParser on shutdown.
4 6
5 * xml.c (parse_region): Don't call xmlCleanupParser after parsing, 7 * 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 <http://www.gnu.org/licenses/>. */
82#include <sys/personality.h> 82#include <sys/personality.h>
83#endif 83#endif
84 84
85#ifdef HAVE_LIBXML2
86#include <libxml/parser.h>
87#endif
88
85#ifndef O_RDWR 89#ifndef O_RDWR
86#define O_RDWR 2 90#define O_RDWR 2
87#endif 91#endif