When building with Visual Studio 2015 (under Windows 10), there is a collision with time_spec definition in the pthread library header. Either HAVE_STRUCT_TIMESPEC or UWIN is defined eratically... (from pthread.h).
There seems to be also an issue with stdio - includes and some compiler warnings.
-> providing VS 2015 project with 64Bit support and Windows threads instead of pthreads
Diff: