These fix building with CURL on Windows and with any port that uses the _r threadsafe functions when compiling with MSVC.
Created attachment 17473 [details] USE(CURL) and MSVC port compilation fixes
Comment on attachment 17473 [details] USE(CURL) and MSVC port compilation fixes + include pthreds.h to get the threadsafe *_r functions. Typo: pthreds.h -> pthreads.h r=me
landed in r27994