From b44824b1b1bce957e56b0bbc1135b60834cd6842 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20M=C3=BCller?= Date: Fri, 5 Jul 2019 11:22:02 +0200 Subject: [PATCH] Fix compilation error libguile/posix-w32.h * libguile/posix-w32.h: add missing headers, for x86_64 also start_child requires return type pid_t --- libguile/posix-w32.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libguile/posix-w32.h b/libguile/posix-w32.h index 8fe4f1c65..8cf37f593 100644 --- a/libguile/posix-w32.h +++ b/libguile/posix-w32.h @@ -21,6 +21,11 @@ . */ #include +#include +#include + +#include "scm.h" + #define _UTSNAME_LENGTH 65 #define _UTSNAME_NODENAME_LENGTH _UTSNAME_LENGTH @@ -74,7 +79,7 @@ SCM_INTERNAL int uname (struct utsname * uts); SCM_INTERNAL int waitpid (intptr_t, int *, int); SCM_INTERNAL int w32_status_to_termsig (DWORD status); -SCM_INTERNAL int start_child (const char *exec_file, char **argv, +SCM_INTERNAL pid_t start_child (const char *exec_file, char **argv, int reading, int c2p[2], int writing, int p2c[2], int infd, int outfd, int errfd); -- 2.22.0