Include <process.h> in w32/unistd.h for getpid()

getpid() is used since commit 773019e.
This commit is contained in:
Markus Armbruster 2013-04-10 21:41:09 +02:00
parent 8dbda02405
commit 37990f98b2

View file

@ -45,9 +45,10 @@
* breaks if the system's declaration is included later. Include them * breaks if the system's declaration is included later. Include them
* here. Major name space pollution, can't be helped. * here. Major name space pollution, can't be helped.
*/ */
#include <direct.h>
#include <getopt.h> #include <getopt.h>
#include <io.h> #include <io.h>
#include <direct.h> #include <process.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "w32types.h" #include "w32types.h"