aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/u.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/u.h b/include/u.h
index 7ed634e7..69d14e3d 100644
--- a/include/u.h
+++ b/include/u.h
@@ -116,6 +116,8 @@ typedef long p9jmp_buf[sizeof(sigjmp_buf)/sizeof(long)];
# undef _NEEDULONG
#elif defined(__OpenBSD__)
# include <sys/types.h>
+# include <pthread.h>
+# define PLAN9PORT_USING_PTHREADS 1
# undef _NEEDUSHORT
# undef _NEEDUINT
# undef _NEEDULONG