misc: Fix compilation on Windows.

(cherry picked from commit ba03388031)
This commit is contained in:
Andreas Schneider
2011-05-26 11:19:25 +02:00
parent 36abd82a7e
commit 44fed3eb9b

View File

@@ -32,7 +32,11 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#endif
#ifndef HAVE_CLOCK_GETTIME
#include <sys/time.h>
#endif /* HAVE_CLOCK_GETTIME */
#endif /* _WIN32 */
#include <limits.h>
#include <stdio.h>
@@ -42,9 +46,6 @@
#include <sys/types.h>
#include <ctype.h>
#include <time.h>
#ifndef HAVE_CLOCK_GETTIME
#include <sys/time.h>
#endif
#ifdef _WIN32