core: Add missing header for libc++ after e989a0bcff (#7158)

src/Compositor.cpp:2295:74: error: no member named 'bit_floor' in namespace 'std'
 2295 |     const eFullscreenMode CURRENT_EFFECTIVE_MODE = (eFullscreenMode)std::bit_floor((uint8_t)PWINDOW->m_sFullscreenState.internal);
      |                                                                     ~~~~~^
src/Compositor.cpp:2296:74: error: no member named 'bit_floor' in namespace 'std'
 2296 |     const eFullscreenMode EFFECTIVE_MODE         = (eFullscreenMode)std::bit_floor((uint8_t)state.internal);
      |                                                                     ~~~~~^
src/desktop/Window.cpp:1242:34: error: no member named 'bit_floor' in namespace 'std'
 1242 |     return (eFullscreenMode)std::bit_floor((uint8_t)m_sFullscreenState.internal) == MODE;
      |                             ~~~~~^
This commit is contained in:
Jan Beich 2024-08-03 12:02:10 +00:00 committed by GitHub
parent 4141e67550
commit 9f5a57ff45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -7,6 +7,7 @@
#include "managers/SeatManager.hpp" #include "managers/SeatManager.hpp"
#include "managers/eventLoop/EventLoopManager.hpp" #include "managers/eventLoop/EventLoopManager.hpp"
#include <aquamarine/output/Output.hpp> #include <aquamarine/output/Output.hpp>
#include <bit>
#include <random> #include <random>
#include <cstring> #include <cstring>
#include <filesystem> #include <filesystem>

View file

@ -1,4 +1,5 @@
#include <any> #include <any>
#include <bit>
#include <string_view> #include <string_view>
#include <algorithm> #include <algorithm>
#include "Window.hpp" #include "Window.hpp"