$OpenBSD$

Index: src/tinycthread_extra.h
--- src/tinycthread_extra.h.orig
+++ src/tinycthread_extra.h
@@ -38,6 +38,7 @@
 
 #ifndef _WIN32
 #include <pthread.h> /* needed for rwlock_t */
+#include <pthread_np.h>
 #endif
 
 
