From 0dc45b54f3df45483df1c44fdc188381ac8fddc4 Mon Sep 17 00:00:00 2001 From: Linux User Date: Wed, 8 Oct 2025 20:24:40 +0000 Subject: [PATCH] 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 + src/managers/animation/DesktopAnimationManager.hpp | 1 + 2 files changed, 2 insertions(+) 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(); diff --git a/src/managers/animation/DesktopAnimationManager.hpp b/src/managers/animation/DesktopAnimationManager.hpp index 623fc5e9..f27f09d2 100644 --- a/src/managers/animation/DesktopAnimationManager.hpp +++ b/src/managers/animation/DesktopAnimationManager.hpp @@ -2,6 +2,7 @@ #include "../../helpers/memory/Memory.hpp" #include "../../desktop/DesktopTypes.hpp" +#include class CDesktopAnimationManager { public: