summaryrefslogtreecommitdiff
path: root/runtest.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-10-28 16:37:05 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-10-28 16:37:05 +0000
commitf93a67e9c9ab8d4bfd8af59cd7a9e0b99da6cdc7 (patch)
tree047346d2be236ffed0ebf61e8b0d02a1fde7468c /runtest.c
parent19dc961ec1dfb1c1f63cd0a6664ac55d29decc90 (diff)
downloadlibxml2-f93a67e9c9ab8d4bfd8af59cd7a9e0b99da6cdc7.tar.gz
tiny fix from Albert Chin portability cleanup for arch needing trio for
* libxml.3: tiny fix from Albert Chin * runsuite.c runtest.c testapi.c: portability cleanup for arch needing trio for *printf Daniel
Diffstat (limited to 'runtest.c')
-rw-r--r--runtest.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtest.c b/runtest.c
index dff53c3a..947d29ff 100644
--- a/runtest.c
+++ b/runtest.c
@@ -11,11 +11,16 @@
* daniel@veillard.com
*/
+#ifdef HAVE_CONFIG_H
+#include "libxml.h"
+#else
+#include <stdio.h>
+#endif
+
#if !defined(_WIN32) || defined(__CYGWIN__)
#include <unistd.h>
#endif
#include <string.h>
-#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>