Fix sys/cpuset.h on FreeBSD 9.1; patch from kazu-yamamoto; fixes #7708
Make the #includes a little more correct in OSThreads.c