void-packages/srcpkgs/osg/patches/musl-pthread.patch

12 lines
357 B
Diff

--- a/src/OpenThreads/pthreads/PThread.cpp 2015-04-07 20:01:12.000000000 +0200
+++ b/src/OpenThreads/pthreads/PThread.cpp 2015-10-31 06:24:45.189319272 +0100
@@ -27,7 +27,7 @@
#include <string.h>
#include <sys/time.h>
#include <sys/resource.h>
-#if !defined ANDROID
+#if defined __GLIBC__ && !defined ANDROID
#include <sys/unistd.h>
#endif
#endif