Message ID | 20170516142819.7734-1-tiwai@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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
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(+)