diff options
author | Lars Magne Ingebrigtsen <[email protected]> | 2011-09-04 00:20:00 +0200 |
---|---|---|
committer | Lars Magne Ingebrigtsen <[email protected]> | 2011-09-04 00:20:00 +0200 |
commit | 0f2f6b6d0073d6941e4264e856478d43a3bd4820 (patch) | |
tree | 5d681658498a2e6842c8067098c516a6c3289e18 /src | |
parent | fcb901a77a0a3eaf21f0126466ae84fdc18fce2c (diff) |
* Require libxml/parser.h to avoid compilation warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 2 | ||||
-rw-r--r-- | src/emacs.c | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index de12d8f031..6113c2362e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-09-03 Lars Magne Ingebrigtsen <[email protected]> + * 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, diff --git a/src/emacs.c b/src/emacs.c index f68c47ffed..4cc476290c 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 |