projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33ffb75
)
mono-mutex.c: Don't include sys/time.h on Windows;
author
i59
<filip@inkdev.net>
Tue, 25 Jun 2013 13:32:37 +0000
(15:32 +0200)
committer
Alex 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
patch
|
blob
|
history
diff --git
a/mono/utils/mono-mutex.c
b/mono/utils/mono-mutex.c
index 39fbca64f93c7596b4259ce337d05b13beec0ecb..6abad5756b0a8fea1204a675ec34425ded02cdb5 100644
(file)
--- a/
mono/utils/mono-mutex.c
+++ b/
mono/utils/mono-mutex.c
@@
-16,9
+16,12
@@
#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