formats: include vector header (#34)
Some checks failed
Build & Test (Arch) / Arch: Build and Test (gcc) (push) Has been cancelled
Build & Test (Arch) / Arch: Build and Test (clang) (push) Has been cancelled
Build & Test / nix (hyprgraphics) (push) Has been cancelled
Build & Test / nix (hyprgraphics-with-tests) (push) Has been cancelled

Fixes error `no member named 'vector' in namespace 'std'` on llvm/musl
This commit is contained in:
Linux User 2025-09-03 09:21:59 +00:00 committed by GitHub
parent 157cc52065
commit 621e2e00f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,6 +6,7 @@
#include <filesystem>
#include <hyprutils/utils/ScopeGuard.hpp>
#include <libheif/heif.h>
#include <vector>
using namespace Hyprutils::Utils;
static std::expected<cairo_surface_t*, std::string> loadFromContext(heif_context* ctx) {