summaryrefslogtreecommitdiff
path: root/src/emacs.c
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2011-09-04 00:20:00 +0200
committerLars Magne Ingebrigtsen <larsi@gnus.org>2011-09-04 00:20:00 +0200
commit0f2f6b6d0073d6941e4264e856478d43a3bd4820 (patch)
tree5d681658498a2e6842c8067098c516a6c3289e18 /src/emacs.c
parentfcb901a77a0a3eaf21f0126466ae84fdc18fce2c (diff)
downloademacs-0f2f6b6d0073d6941e4264e856478d43a3bd4820.tar.gz
* Require libxml/parser.h to avoid compilation warning.
Diffstat (limited to 'src/emacs.c')
-rw-r--r--src/emacs.c4
1 files changed, 4 insertions, 0 deletions
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/>. */
#include <sys/personality.h>
#endif
+#ifdef HAVE_LIBXML2
+#include <libxml/parser.h>
+#endif
+
#ifndef O_RDWR
#define O_RDWR 2
#endif