summaryrefslogtreecommitdiff
path: root/audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio.c')
-rw-r--r--audio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio.c b/audio.c
index fdbb792..a12372f 100644
--- a/audio.c
+++ b/audio.c
@@ -48,6 +48,10 @@
#define __USE_GNU
#endif
#include <pthread.h>
+#ifndef HAVE_PTHREAD_NAME
+ /// only available with newer glibc
+#define pthread_setname_np(thread, name)
+#endif
#endif
#include "ringbuffer.h"