aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2011-09-04 00:20:00 +0200
committerLars Magne Ingebrigtsen2011-09-04 00:20:00 +0200
commit0f2f6b6d0073d6941e4264e856478d43a3bd4820 (patch)
tree5d681658498a2e6842c8067098c516a6c3289e18 /src
parentfcb901a77a0a3eaf21f0126466ae84fdc18fce2c (diff)
downloademacs-0f2f6b6d0073d6941e4264e856478d43a3bd4820.tar.gz
emacs-0f2f6b6d0073d6941e4264e856478d43a3bd4820.zip
* Require libxml/parser.h to avoid compilation warning.
Diffstat (limited to 'src')
-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