[PATCH] ntdll: Include <signal.h> where needed in the Unix library.
Gerald Pfeifer
gerald at pfeifer.com
Sun Jun 14 10:58:33 CDT 2020
After
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Jun 12 09:26:50 2020 +0200
ntdll: Move fork and exec support to the Unix library.
the build fails when declarations/definitions for signal(), SIGPIPE,
and SIG_DFL are not pulled in implicitly.
Make sure we always declare/define those by including <signal.h>.
Signed-off-by: Gerald Pfeifer <gerald at pfeifer.com>
---
dlls/ntdll/unix/process.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/ntdll/unix/process.c b/dlls/ntdll/unix/process.c
index 9f38f042de..58ba031421 100644
--- a/dlls/ntdll/unix/process.c
+++ b/dlls/ntdll/unix/process.c
@@ -28,6 +28,7 @@
#include <errno.h>
#include <fcntl.h>
+#include <signal.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
--
2.27.0
More information about the wine-devel
mailing list