Index: thread.cpp =================================================================== --- thread.cpp (revision 85196) +++ thread.cpp (working copy) @@ -22,6 +22,7 @@ #include #include +#include #if defined BOOST_THREAD_USES_DATETIME #include #endif @@ -128,8 +129,6 @@ return ret; } - typedef void* uintptr_t; - inline uintptr_t _beginthreadex(void* security, unsigned stack_size, unsigned (__stdcall* start_address)(void*), void* arglist, unsigned initflag, unsigned* thrdaddr) {