Evgeny Litvinenko : ntdll: Solaris requires sys/regset.h.

Alexandre Julliard julliard at winehq.org
Tue Oct 8 16:05:56 CDT 2019


Module: wine
Branch: master
Commit: 893e9d1b72cb31212b07d3261d589a2b7d65ff7d
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=893e9d1b72cb31212b07d3261d589a2b7d65ff7d

Author: Evgeny Litvinenko <evgeny.v.litvinenko at gmail.com>
Date:   Sun Oct  6 23:18:18 2019 +0300

ntdll: Solaris requires sys/regset.h.

Signed-off-by: Evgeny Litvinenko <evgeny.v.litvinenko at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/signal_i386.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dlls/ntdll/signal_i386.c b/dlls/ntdll/signal_i386.c
index 534b05c717..fd761246c5 100644
--- a/dlls/ntdll/signal_i386.c
+++ b/dlls/ntdll/signal_i386.c
@@ -272,8 +272,11 @@ typedef struct trapframe ucontext_t;
 
 #elif defined(__svr4__) || defined(_SCO_DS) || defined(__sun)
 
-#ifdef _SCO_DS
+#if defined(_SCO_DS) || defined(__sun)
 #include <sys/regset.h>
+#endif
+
+#ifdef _SCO_DS
 #define gregs regs
 #endif
 




More information about the wine-cvs mailing list