From ba03388031530fcf49b2c37ce0da801254e5075f Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 26 May 2011 11:19:25 +0200 Subject: misc: Fix compilation on Windows. --- src/misc.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/misc.c') diff --git a/src/misc.c b/src/misc.c index fe04ac6..008be1b 100644 --- a/src/misc.c +++ b/src/misc.c @@ -32,7 +32,11 @@ #include #include #include -#endif + +#ifndef HAVE_CLOCK_GETTIME +#include +#endif /* HAVE_CLOCK_GETTIME */ +#endif /* _WIN32 */ #include #include @@ -42,9 +46,6 @@ #include #include #include -#ifndef HAVE_CLOCK_GETTIME -#include -#endif #ifdef _WIN32 -- cgit