summaryrefslogtreecommitdiff
path: root/hyprpm/src/helpers/Sys.cpp
diff options
context:
space:
mode:
authorSv. Lockal <AngryLoki@users.noreply.github.com>2025-08-06 20:01:02 +0800
committerGitHub <noreply@github.com>2025-08-06 14:01:02 +0200
commit0c317f25080972c949139460e1e6c8a63daaf05a (patch)
tree7ef83d1d700f120ee4884d0e1ca11069fca6c86f /hyprpm/src/helpers/Sys.cpp
parent3c6536d9328280b1811a2dbcc4596c1cafb80abd (diff)
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<char>' 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. ```
Diffstat (limited to 'hyprpm/src/helpers/Sys.cpp')
-rw-r--r--hyprpm/src/helpers/Sys.cpp1
1 files changed, 1 insertions, 0 deletions
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 <print>
#include <filesystem>
#include <algorithm>
+#include <sstream>
#include <hyprutils/os/Process.hpp>
#include <hyprutils/string/VarList.hpp>