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.
```
This commit is contained in:
parent
3c6536d932
commit
0c317f2508
1 changed files with 1 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
|||
#include <print>
|
||||
#include <filesystem>
|
||||
#include <algorithm>
|
||||
#include <sstream>
|
||||
|
||||
#include <hyprutils/os/Process.hpp>
|
||||
#include <hyprutils/string/VarList.hpp>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue