16 May
2017
16 May
'17
4:28 p.m.
Otherwise PTHREAD_MUTEX_RECURSIVE isn't defined and we get an error with old glibc.
Signed-off-by: Takashi Iwai tiwai@suse.de --- src/pcm/pcm_local.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/pcm/pcm_local.h b/src/pcm/pcm_local.h index 32e6dcdf6fcd..e4f652187c49 100644 --- a/src/pcm/pcm_local.h +++ b/src/pcm/pcm_local.h @@ -35,6 +35,7 @@ #include "local.h"
#ifdef THREAD_SAFE_API +#define __USE_UNIX98 1 /* for old glibc */ #include <pthread.h> #endif
--
2.13.0