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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 3 deletions

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
```

2
externals/hwinfo vendored

@ -1 +1 @@
Subproject commit 351c59828a79958f74f3ccab5e7773ffd724f6f7
Subproject commit 8660006e0ca4aae5dda7a29e585968b50b0273b7

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>

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 {