projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df2a5f8
)
gdbsupport/pathstuff.h: #include <array> explicitly for std::array<>
author
John Baldwin
<jhb@FreeBSD.org>
Tue, 26 Apr 2022 00:06:09 +0000
(17:06 -0700)
committer
John Baldwin
<jhb@FreeBSD.org>
Tue, 26 Apr 2022 00:06:09 +0000
(17:06 -0700)
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.
gdbsupport/pathstuff.h
patch
|
blob
|
history
diff --git
a/gdbsupport/pathstuff.h
b/gdbsupport/pathstuff.h
index c8592793886e835b59126827a4b96a8b76c5038d..d01db89e085f88a7d5d41ed83ffab79950622f49 100644
(file)
--- 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. */