sys/types for OpenBSD
timespec definition for FreeBSD
Added definitions for the pthread module