diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-04-25 17:06:09 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-04-25 17:06:09 -0700 |
commit | 3f0423f9130cdc3a6aecbb44435ad690b3aa9e99 (patch) | |
tree | f18523f965a16664d2721de5f9485229ab486bba /gdbsupport | |
parent | df2a5f8de7dd943e0f8773c220fad000e49b78a6 (diff) | |
download | fsf-binutils-gdb-3f0423f9130cdc3a6aecbb44435ad690b3aa9e99.zip fsf-binutils-gdb-3f0423f9130cdc3a6aecbb44435ad690b3aa9e99.tar.gz fsf-binutils-gdb-3f0423f9130cdc3a6aecbb44435ad690b3aa9e99.tar.bz2 |
gdbsupport/pathstuff.h: #include <array> 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.
Diffstat (limited to 'gdbsupport')
-rw-r--r-- | gdbsupport/pathstuff.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdbsupport/pathstuff.h b/gdbsupport/pathstuff.h index c859279..d01db89 100644 --- a/gdbsupport/pathstuff.h +++ b/gdbsupport/pathstuff.h @@ -26,6 +26,7 @@ #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> +#include <array> /* Path utilities. */ |