Merge pull request #618 from knocte/aspnet_lru
[mono.git] / mono / utils / mono-semaphore.h
index 6d6c0684909d470ce3af53e174f63b9155343172..bde196a10a21c2fb7ae8f9d955ab1f93d59f6451 100644 (file)
@@ -12,7 +12,8 @@
 
 #include <config.h>
 #include <glib.h>
-#ifdef HAVE_SEMAPHORE_H
+#include <time.h>
+#if defined(HAVE_SEMAPHORE_H) && !defined(HOST_WIN32)
 #include <semaphore.h>
 #endif
 #include <mono/io-layer/io-layer.h>