mono-mutex.c: Don't include sys/time.h on Windows;
authori59 <filip@inkdev.net>
Tue, 25 Jun 2013 13:32:37 +0000 (15:32 +0200)
committerAlex Rønne Petersen <alexrp@xamarin.com>
Sun, 21 Jul 2013 10:45:33 +0000 (12:45 +0200)
Signed-off-by: Alex Rønne Petersen <alexrp@xamarin.com>
mono/utils/mono-mutex.c

index 39fbca64f93c7596b4259ce337d05b13beec0ecb..6abad5756b0a8fea1204a675ec34425ded02cdb5 100644 (file)
 #include <string.h>
 #include <errno.h>
 #include <assert.h>
-#include <sys/time.h>
 #include <mono/utils/mono-memory-model.h>
 
+#ifndef HOST_WIN32
+#include <sys/time.h>
+#endif
+
 #include "mono-mutex.h"
 
 #ifndef HOST_WIN32