summaryrefslogtreecommitdiff
path: root/launcher.c
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2019-06-13 18:31:57 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2019-06-13 18:31:57 +0200
commitfa22b42d9f2f8a15568dd3a3d290e33c9be86796 (patch)
treed3dc8f65a169294e660ee6d3008fd73adcbd1908 /launcher.c
parent8aeff6b2c9a64e47ad2a22533d7e65c08cd4103f (diff)
downloadpython-setuptools-git-fa22b42d9f2f8a15568dd3a3d290e33c9be86796.tar.gz
launcher: Fix build with mingw-w64
execv() requires process.h to be included according to the MSVC documentation but for some reason it also works without it. mingw-w64 on the other hand fails to build the launcher if the include isn't there, so add it.
Diffstat (limited to 'launcher.c')
-rw-r--r--launcher.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/launcher.c b/launcher.c
index be69f0c6..23ef3ac2 100644
--- a/launcher.c
+++ b/launcher.c
@@ -37,6 +37,7 @@
#include <windows.h>
#include <tchar.h>
#include <fcntl.h>
+#include <process.h>
int child_pid=0;