diff options
| author | Linux User <hugegameartgd@gmail.com> | 2025-10-08 20:24:40 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-08 22:24:40 +0200 |
| commit | 0dc45b54f3df45483df1c44fdc188381ac8fddc4 (patch) | |
| tree | 6a7348e1386da5bcf23909a0160b5d36df8cd2ad /src/helpers/MainLoopExecutor.cpp | |
| parent | ba24547d3d784531f86aecfd145d590889302d5a (diff) | |
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
Diffstat (limited to 'src/helpers/MainLoopExecutor.cpp')
| -rw-r--r-- | src/helpers/MainLoopExecutor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helpers/MainLoopExecutor.cpp b/src/helpers/MainLoopExecutor.cpp index 19c49563..8632d93b 100644 --- a/src/helpers/MainLoopExecutor.cpp +++ b/src/helpers/MainLoopExecutor.cpp @@ -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(); |
