summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index cdd9f2f8..6baf8fb4 100644
--- a/configure.in
+++ b/configure.in
@@ -96,7 +96,8 @@ if [test x$xml = xtrue ]; then
LIBS="-lxmlparse -lxmltok $LIBS"
AC_LANG_PUSH(C++)
AC_TRY_LINK(
- [extern "C" {
+ [#include <stdio.h>
+ extern "C" {
#include <xmlparse.h> // expat XML parser
}],
[XML_Parser parser = XML_ParserCreate(NULL);