fixed time inclusion for various compilers
diff --git a/ChangeLog b/ChangeLog
index 39717de..67ddddf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Aug 28 14:31:13 CEST 2003 Igor Zlatkovic <igor@zlatkovic.com>
+
+	* xmllint.c: fixed time inclusion for various compilers
+
 Thu Aug 28 12:32:59 CEST 2003 Igor Zlatkovic <igor@zlatkovic.com>
 
 	* parser.c parserInternals.c DOCBparser.c HTMLparser.c: added
diff --git a/xmllint.c b/xmllint.c
index 9fffb6b..ccf4ae0 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -10,7 +10,6 @@
 
 #include <string.h>
 #include <stdarg.h>
-
 #include <assert.h>
 
 #if defined (_WIN32) && !defined(__CYGWIN__)
@@ -18,18 +17,15 @@
 #include <winsock2.h>
 #pragma comment(lib, "ws2_32.lib")
 #define gettimeofday(p1,p2)
-#include <time.h>
-#else /* _MSC_VER */
-#include <sys/time.h>
 #endif /* _MSC_VER */
-#else /* _WIN32 */
+#endif /* _WIN32 */
+
 #ifdef HAVE_SYS_TIME_H
 #include <sys/time.h>
 #endif
 #ifdef HAVE_TIME_H
 #include <time.h>
 #endif
-#endif /* _WIN32 */
 
 #ifdef __MINGW32__
 #define _WINSOCKAPI_
@@ -39,7 +35,6 @@
 #define SOCKLEN_T unsigned int
 #endif
 
-
 #ifdef HAVE_SYS_TIMEB_H
 #include <sys/timeb.h>
 #endif