3
0
mirror of https://github.com/hyprwm/Hyprland.git synced 2025-10-30 03:41:16 +00:00

managers/helpers: add missing includes (#11969)

* managers: include string header

Fixes error `implicit instantiation of undefined template 'std::basic_string<char>'` on llvm/musl

* helpers: include unistd header

Fixes error `use of undeclared identifier 'pipe'` on llvm/musl
This commit is contained in:
Linux User 2025-10-08 20:24:40 +00:00 committed by GitHub
parent ba24547d3d
commit 0dc45b54f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#include "MainLoopExecutor.hpp"
#include "../managers/eventLoop/EventLoopManager.hpp"
#include "../macros.hpp"
#include <unistd.h>
static int onDataRead(int fd, uint32_t mask, void* data) {
((CMainLoopExecutor*)data)->onFired();

View File

@ -2,6 +2,7 @@
#include "../../helpers/memory/Memory.hpp"
#include "../../desktop/DesktopTypes.hpp"
#include <string>
class CDesktopAnimationManager {
public: