openbsd updates (thanks Pascal Stumpf)

R=rsc
http://codereview.appspot.com/6401049
This commit is contained in:
Russ Cox 2012-07-14 10:16:54 -04:00
parent c934984537
commit 20f5692b7f
8 changed files with 82 additions and 138 deletions

View file

@ -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