From 22cab7ca8da904e4a6c51ee16c720ecd85af4fdd Mon Sep 17 00:00:00 2001
From: 4lDO2 <4lDO2@protonmail.com>
Date: Tue, 16 Jul 2024 13:32:18 +0200
Subject: [PATCH] Fix errors on non-x86_64.

---
 redox-rt/src/arch/aarch64.rs | 1 +
 redox-rt/src/arch/i686.rs    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/redox-rt/src/arch/aarch64.rs b/redox-rt/src/arch/aarch64.rs
index 3379bca7..c9aaccbf 100644
--- a/redox-rt/src/arch/aarch64.rs
+++ b/redox-rt/src/arch/aarch64.rs
@@ -23,6 +23,7 @@ pub struct SigArea {
     pub onstack: u64,
     pub disable_signals_depth: u64,
     pub pctl: usize, // TODO: remove
+    pub last_sig_was_restart: bool,
 }
 #[repr(C)]
 #[derive(Debug, Default)]
diff --git a/redox-rt/src/arch/i686.rs b/redox-rt/src/arch/i686.rs
index ec4decdd..4866571a 100644
--- a/redox-rt/src/arch/i686.rs
+++ b/redox-rt/src/arch/i686.rs
@@ -21,6 +21,7 @@ pub struct SigArea {
     pub tmp_eax: usize,
     pub tmp_edx: usize,
     pub disable_signals_depth: u64,
+    pub last_sig_was_restart: bool,
 }
 #[derive(Debug, Default)]
 #[repr(C, align(16))]
-- 
GitLab