<pthread.h> header is for *nix systems (unix, linux, xenix, ultrix, ...).
Windows doesn't have it. Thread's definitions are included directly by <windows.h>.
If you get this source from a *nix distribution you have to remove the include, than check what other errors you get and translate *nix specific thread's calls to the equivalent, if any, windows call.