aboutsummaryrefslogtreecommitdiffstats
path: root/xmllint.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-07-14 16:44:32 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-07-14 16:44:32 +0000
commit28ae636c790a24122947b2447de436401d5cbb06 (patch)
treeb8babae2358282ae909703171b6fd68a1c56a113 /xmllint.c
parented156f58bdaa0f7ba46740e91cd83904dccbf7e5 (diff)
downloadandroid_external_libxml2-28ae636c790a24122947b2447de436401d5cbb06.tar.gz
android_external_libxml2-28ae636c790a24122947b2447de436401d5cbb06.tar.bz2
android_external_libxml2-28ae636c790a24122947b2447de436401d5cbb06.zip
fixed compilation under Cygwin #57503 update Daniel
* xmllint.c: fixed compilation under Cygwin #57503 * TODO: update Daniel
Diffstat (limited to 'xmllint.c')
-rw-r--r--xmllint.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmllint.c b/xmllint.c
index 8cb17b4f..cce235b7 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -10,11 +10,14 @@
#include <string.h>
#include <stdarg.h>
+
#ifdef _WIN32
#ifdef _MSC_VER
#include <winsock2.h>
#pragma comment(lib, "ws2_32.lib")
#define gettimeofday(p1,p2)
+#else /* _MSC_VER */
+#include <sys/time.h>
#endif /* _MSC_VER */
#else /* _WIN32 */
#include <sys/time.h>