From: John Baldwin Date: Tue, 26 Apr 2022 00:06:09 +0000 (-0700) Subject: gdbsupport/pathstuff.h: #include explicitly for std::array<> X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f0423f9130cdc3a6aecbb44435ad690b3aa9e99;p=binutils-gdb.git gdbsupport/pathstuff.h: #include explicitly for std::array<> This fixes build breakage using clang with libc++ on FreeBSD where std::array<> is not yet declared when used by the path_join variadic function template. --- diff --git a/gdbsupport/pathstuff.h b/gdbsupport/pathstuff.h index c8592793886..d01db89e085 100644 --- a/gdbsupport/pathstuff.h +++ b/gdbsupport/pathstuff.h @@ -26,6 +26,7 @@ #include #include #include +#include /* Path utilities. */