Include "pthread.h"

It isn't implicit on OpenBSD.
Drop typedef redeclarations

C99 doesn't permit redeclaring typedefs in the same scope.
Merge pull request #122 from czarkoff/redeclarations

Drop typedef redeclarations
Merge pull request #121 from czarkoff/openbsd

Include "pthread.h"
merge