According to: http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/types.h.html #include <sys/types.h> should include the definitions of pthread types. This was reported by Brooks Davis: http://lists.freebsd.org/pipermail/freebsd-threads/2005-March/002951.html FreeBSD's <sys/types> currently does not do this, breaking compilation of some software like GridEngine. Creating a new private <sys/_pthreadtypes.h> header file which is included by <sys/types.h> and <pthread.h> should solve this problem.
State Changed From-To: open->closed Patch commited.