Revision 39908 adds usage of INT_MAX and other limits to threading implementations, but missed the limits.h include for the pthreads implementation.
Created attachment 26760 [details]
> #include <errno.h>
> #include <sys/time.h>
> +#include <limits.h>
We generally put the includes in ASCII order.
*** This bug has been marked as a duplicate of 23347 ***
Comment on attachment 26760 [details]
Patch is fine, but there's already a reviewed patch in the other bug.