void-packages/srcpkgs/osg/patches/musl-pthread.patch
Jürgen Buchmüller 7922130229 New package: osg-3.4.0
OpenSceneGraph required for FlightGear
2015-10-31 09:37:01 +01:00

11 lines
353 B
Diff

--- src/OpenThreads/pthreads/PThread.cpp 2015-04-07 20:01:12.000000000 +0200
+++ 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