Include "pthread.h"

It isn't implicit on OpenBSD.