Merge pull request #2803 from BrzVlad/feature-conc-pinned-scan
[mono.git] / mono / utils / mono-time.c
index 8fe8f59cfdf4178e70602eb6e81ec14913e6bab4..5f0168ebb7475b94886d44a002331d2aa1184842 100644 (file)
@@ -2,12 +2,20 @@
  * Time utility functions.
  * Author: Paolo Molaro (<lupus@ximian.com>)
  * Copyright (C) 2008 Novell, Inc.
+ * Licensed under the MIT license. See LICENSE file in the project root for full license information.
  */
 
-#include <utils/mono-time.h>
+#include <config.h>
 #include <stdlib.h>
 #include <stdio.h>
 
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
+
+#include <utils/mono-time.h>
+
+
 #define MTICKS_PER_SEC 10000000
 
 #ifdef HOST_WIN32
@@ -56,9 +64,6 @@ mono_100ns_datetime (void)
 
 #else
 
-#ifdef HAVE_SYS_TIME_H
-#include <sys/time.h>
-#endif
 
 #if defined (HAVE_SYS_PARAM_H)
 #include <sys/param.h>