summaryrefslogtreecommitdiff
blob: 1e286a0215e692d24a8734d0886762817994e6a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
 https://bugs.gentoo.org/421607

 evocommon.h:468:29: error: 'usleep' was not declared in this scope
 
 libevocosm/evocommon.h | 4 ++++
 1 file changed, 4 insertions(+)

--- a/libevocosm/evocommon.h
+++ b/libevocosm/evocommon.h
@@ -54,6 +54,10 @@
 #undef min
 #endif
 
+#if !defined(_MSC_VER)
+#include "unistd.h"
+#endif
+
 namespace libevocosm
 {
     //! The random number generator used by Evocosm