diff options
author | elfmz <fenix1905@tut.by> | 2021-09-21 03:27:26 +0300 |
---|---|---|
committer | elfmz <fenix1905@tut.by> | 2021-09-21 03:27:26 +0300 |
commit | 716b3290d6bc15512a697e09ca3bed26ac619bd2 (patch) | |
tree | 231c84f47329a389e7fe55c5c5c9bb1aabc43ed2 | |
parent | d1b578a1e3fdd49ecd3ca0bd9b43379c2156793d (diff) |
fix build under old macosv2021-09-21_alpha
-rw-r--r-- | utils/src/Threaded.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/src/Threaded.cpp b/utils/src/Threaded.cpp index 91e8446a..f918d36e 100644 --- a/utils/src/Threaded.cpp +++ b/utils/src/Threaded.cpp @@ -1,6 +1,7 @@ #include "Threaded.h" #include <stdlib.h> #include <unistd.h> +#include <algorithm> // OSX has no pthread_timedjoin_np, so here goes bicycle for timed thread waiting |