summaryrefslogtreecommitdiff
path: root/testSAX.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>1999-09-22 09:46:25 +0000
committerDaniel Veillard <veillard@src.gnome.org>1999-09-22 09:46:25 +0000
commit7f7d1119afb072466b0a74293b6898025d6641db (patch)
tree2ed4d13af9a333a88341041894bd0e48b9a73f3e /testSAX.c
parent1b0f55fbc0fe25a223e0c00dadeb762ed28c86aa (diff)
downloadlibxml2-7f7d1119afb072466b0a74293b6898025d6641db.tar.gz
Ready for 1.7.0, major changes, nanohttp, cleanup, binary compat with 1.4,
etc... See Changelog, Daniel.
Diffstat (limited to 'testSAX.c')
-rw-r--r--testSAX.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/testSAX.c b/testSAX.c
index 7dcdcf4f..76b3d5d2 100644
--- a/testSAX.c
+++ b/testSAX.c
@@ -10,9 +10,16 @@
#define HAVE_FCNTL_H
#include <io.h>
#else
-#include <config.h>
+#include "config.h"
#endif
+
+#include <stdio.h>
+#include <string.h>
+#include <stdarg.h>
+
+#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
+#endif
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
@@ -22,10 +29,10 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
-#include <stdio.h>
-#include <string.h>
+#ifdef HAVE_STDLIB_H
#include <stdlib.h>
-#include <stdarg.h>
+#endif
+
#include "parser.h"
#include "parserInternals.h" /* only for xmlNewInputFromFile() */