Index: src/html.c
--- src/html.c.orig
+++ src/html.c
@@ -14,7 +14,7 @@ extern int gettimeofday(struct timeval *tp, void *tzp)
// OSX has no pthread_tryjoin_np, so we can't do our
// asynchronous timers under OSX, which is really no great loss.
-#if defined(__APPLE__) || defined(__ANDROID__) || defined(__FreeBSD__)
+#if defined(__APPLE__) || defined(__ANDROID__) || defined(__FreeBSD__) || defined(__OpenBSD__)
#define pthread_tryjoin_np pthread_join
#endif