From 0dc45b54f3df45483df1c44fdc188381ac8fddc4 Mon Sep 17 00:00:00 2001 From: Linux User Date: Wed, 8 Oct 2025 20:24:40 +0000 Subject: managers/helpers: add missing includes (#11969) * managers: include string header Fixes error `implicit instantiation of undefined template 'std::basic_string'` on llvm/musl * helpers: include unistd header Fixes error `use of undeclared identifier 'pipe'` on llvm/musl --- src/helpers/MainLoopExecutor.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/helpers/MainLoopExecutor.cpp') 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 static int onDataRead(int fd, uint32_t mask, void* data) { ((CMainLoopExecutor*)data)->onFired(); -- cgit v1.2.3