From 0c317f25080972c949139460e1e6c8a63daaf05a Mon Sep 17 00:00:00 2001 From: "Sv. Lockal" Date: Wed, 6 Aug 2025 20:01:02 +0800 Subject: [PATCH] internal: Fix compilation with libc++ (#11355) Build with libc++ (Clang-20, Gentoo LLVM profile) fails due to transitive include with: ``` s_Sys.cpp.o -c ../hyprland-source/hyprpm/src/helpers/Sys.cpp ../hyprland-source/hyprpm/src/helpers/Sys.cpp:24:24: error: implicit instantiation of undefined template 'std::basic_ostringstream' 24 | std::ostringstream oss; | ^ /usr/include/c++/v1/__fwd/sstream.h:28:28: note: template is declared here 28 | class _LIBCPP_TEMPLATE_VIS basic_ostringstream; | ^ 1 error generated. ``` --- hyprpm/src/helpers/Sys.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/hyprpm/src/helpers/Sys.cpp b/hyprpm/src/helpers/Sys.cpp index e7ac8854..c18d4748 100644 --- a/hyprpm/src/helpers/Sys.cpp +++ b/hyprpm/src/helpers/Sys.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include #include