1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-20 17:55:15 +03:00
aports/testing/openwsman/fix-musl-build.patch
2019-03-16 18:10:48 +00:00

13 lines
403 B
Diff

diff --git a/src/lib/u/lock.c b/src/lib/u/lock.c
index 025eea4..a2b5b14 100644
--- a/src/lib/u/lock.c
+++ b/src/lib/u/lock.c
@@ -50,7 +50,7 @@
extern int pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type);
#endif
-#if defined (__SVR4) && defined (__sun)
+#if defined (__SVR4) && defined (__sun) || defined(__linux__)
#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
#endif