Files
RedBear-OS/recipes/libs/liburcu/0001-Fix-compilation-on-Redox-OS.patch
T
vasilito 50b731f1b7 Red Bear OS — microkernel OS in Rust, based on Redox
Derivative of Redox OS (https://www.redox-os.org) adding:
- AMD GPU driver (amdgpu) via LinuxKPI compat layer
- ext4 filesystem support (ext4d scheme daemon)
- ACPI fixes for AMD bare metal (x2APIC, DMAR, IVRS, MCFG)
- Custom branding (hostname, os-release, boot identity)

Build system is full upstream Redox with RBOS overlay in local/.
Patches for kernel, base, and relibc are symlinked from local/patches/
and protected from make clean/distclean. Custom recipes live in
local/recipes/ with symlinks into the recipes/ search path.

Build:  make all CONFIG_NAME=redbear-full
Sync:   ./local/scripts/sync-upstream.sh
2026-04-12 19:05:00 +01:00

26 lines
699 B
Diff

From: bjorn3 <17426603+bjorn3@users.noreply.github.com>
Date: Sat, 6 Dec 2025 15:59:20 +0100
Subject: [PATCH] Fix compilation on Redox OS
---
include/urcu/syscall-compat.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/urcu/syscall-compat.h b/include/urcu/syscall-compat.h
index 23b266e..2c3b03f 100644
--- a/include/urcu/syscall-compat.h
+++ b/include/urcu/syscall-compat.h
@@ -33,7 +33,8 @@
#include <syscall.h>
#elif defined(__CYGWIN__) || defined(__APPLE__) || \
- defined(__FreeBSD__) || defined(__DragonFly__)
+ defined(__FreeBSD__) || defined(__DragonFly__) || \
+ defined(__redox__)
/* Don't include anything on these platforms. */
#else
--
2.47.3