chroe: fix building on fedora 44 / clang 22 (#4303)

* add includes to fix building

* update documentation
This commit is contained in:
Lander Gallastegi
2026-04-22 08:34:53 +02:00
committed by GitHub
parent 2b7d54f785
commit c68a8baa94
4 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -23,9 +23,10 @@ sudo apt install build-essential clang git cmake libasound2-dev \
#### Fedora
```bash
sudo dnf install clang git cmake libatomic alsa-lib-devel \
sudo dnf install ninja-build clang git cmake libatomic alsa-lib-devel \
pipewire-jack-audio-connection-kit-devel openal-soft-devel \
openssl-devel libevdev-devel libudev-devel libXext-devel \
libXcursor-devel libXi-devel libXrandr-devel libXScrnSaver-devel \
vulkan-devel vulkan-validation-layers libpng-devel libuuid-devel
```
+1
View File
@@ -12,6 +12,7 @@
#elif defined(__linux__)
#include <filesystem>
#include <fstream>
#include <unistd.h>
#elif defined(__APPLE__) || defined(__FreeBSD__)
#include <errno.h>
#include <signal.h>
+2 -1
View File
@@ -4,7 +4,6 @@
#include <mutex>
#include "common/arch.h"
#include "common/assert.h"
#include "common/types.h"
#include "core/libraries/kernel/threads/pthread.h"
#include "core/tls.h"
@@ -23,6 +22,8 @@
#if defined(__linux__) && defined(ARCH_X86_64)
#include <asm/prctl.h>
#include <sys/prctl.h>
#include <sys/syscall.h>
#include <unistd.h>
#endif
namespace Core {