fixed compilation under Cygwin #57503 update Daniel
* xmllint.c: fixed compilation under Cygwin #57503
* TODO: update
Daniel
diff --git a/xmllint.c b/xmllint.c
index 8cb17b4..cce235b 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>