From 9206989872da460ebd934572a5197f1c2b16bd57 Mon Sep 17 00:00:00 2001 From: Rodrigo Kumpera Date: Tue, 7 Apr 2015 16:13:41 -0500 Subject: [PATCH] portability fixes. --- mono/utils/mono-time.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/mono/utils/mono-time.c b/mono/utils/mono-time.c index 8fe8f59cfdf..3c940e73ddf 100644 --- a/mono/utils/mono-time.c +++ b/mono/utils/mono-time.c @@ -4,10 +4,17 @@ * Copyright (C) 2008 Novell, Inc. */ -#include +#include #include #include +#ifdef HAVE_SYS_TIME_H +#include +#endif + +#include + + #define MTICKS_PER_SEC 10000000 #ifdef HOST_WIN32 @@ -56,9 +63,6 @@ mono_100ns_datetime (void) #else -#ifdef HAVE_SYS_TIME_H -#include -#endif #if defined (HAVE_SYS_PARAM_H) #include -- 2.11.4.GIT