[PATCH] ntdll: Include <signal.h> for sigset_t

Gerald Pfeifer gerald at pfeifer.com
Sat Jul 18 04:02:58 CDT 2020

commit 7053b7c615b44e7112ab8fb4c056206d32b6f1c9
Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Jul 17 11:46:15 2020 +0200

    ntdll: Move the registry system calls to the Unix library.
    Signed-off-by: Alexandre Julliard <julliard at winehq.org>

broke non-Linux platforms since sigset_t isn't necessarily defined
based on the #include statements in the new dlls/ntdll/unix/registry.c.

This fixes it.

Observed and tested on FreeBSD 11.4/i386.


Signed-off-by: Gerald Pfeifer <gerald at pfeifer.com>
 dlls/ntdll/unix/registry.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/ntdll/unix/registry.c b/dlls/ntdll/unix/registry.c
index f94c8ff98e..6d58361818 100644
--- a/dlls/ntdll/unix/registry.c
+++ b/dlls/ntdll/unix/registry.c
@@ -25,6 +25,7 @@
 #pragma makedep unix
+#include <signal.h>
 #include <stdarg.h>
 #include <string.h>

More information about the wine-devel mailing list