Bug 791838 - lwpid_t is defined in sys/types.h, explicitly include it. r=cjones

This commit is contained in:
Jan Beich 2012-09-19 20:24:58 -04:00
parent 3793f9760c
commit 411f710ccf

View File

@ -26,6 +26,7 @@ typedef pthread_t PlatformThreadHandle;
#include <unistd.h> #include <unistd.h>
typedef pid_t PlatformThreadId; typedef pid_t PlatformThreadId;
#elif defined(OS_BSD) #elif defined(OS_BSD)
#include <sys/types.h>
typedef lwpid_t PlatformThreadId; typedef lwpid_t PlatformThreadId;
#elif defined(OS_MACOSX) #elif defined(OS_MACOSX)
#include <mach/mach.h> #include <mach/mach.h>