prototype for getpid under mingw

This commit is contained in:
dwarning 2009-07-25 10:21:00 +00:00
parent 289a9e6113
commit 91988a734a
1 changed files with 4 additions and 0 deletions

View File

@ -146,6 +146,10 @@ struct timeb timebegin;
# endif
#endif
#if defined (__MINGW32__)
#include <process.h> /* getpid() */
#endif
#if defined (_MSC_VER)
#include <direct.h>
#include <process.h>