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