You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/libevocosm/files/libevocosm-3.3.1-gcc47.patch

21 lines
402 B

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