]> git.pond.sub.org Git - empserver/commitdiff
Include <process.h> in w32/unistd.h for getpid()
authorMarkus Armbruster <armbru@pond.sub.org>
Wed, 10 Apr 2013 19:41:09 +0000 (21:41 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Wed, 8 May 2013 04:57:56 +0000 (06:57 +0200)
getpid() is used since commit 773019e.

src/lib/w32/unistd.h

index 6ec9e3cc0e98157e29819cd7b25d8ceb50902b8a..d57431485fd2179115dd657bb9be21682a03b8a3 100644 (file)
  * breaks if the system's declaration is included later.  Include them
  * here.  Major name space pollution, can't be helped.
  */
  * breaks if the system's declaration is included later.  Include them
  * here.  Major name space pollution, can't be helped.
  */
+#include <direct.h>
 #include <getopt.h>
 #include <io.h>
 #include <getopt.h>
 #include <io.h>
-#include <direct.h>
+#include <process.h>
 #include <sys/stat.h>
 #include "w32types.h"
 
 #include <sys/stat.h>
 #include "w32types.h"