diff options
Diffstat (limited to 'dev-libs/libevocosm/files/libevocosm-3.3.1-gcc47.patch')
-rw-r--r-- | dev-libs/libevocosm/files/libevocosm-3.3.1-gcc47.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-libs/libevocosm/files/libevocosm-3.3.1-gcc47.patch b/dev-libs/libevocosm/files/libevocosm-3.3.1-gcc47.patch new file mode 100644 index 000000000000..1e286a0215e6 --- /dev/null +++ b/dev-libs/libevocosm/files/libevocosm-3.3.1-gcc47.patch @@ -0,0 +1,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 |