* [PUSHED OBV] gdbsupport/pathstuff.h: #include <array> explicitly for std::array<>
@ 2022-04-26 0:21 John Baldwin
0 siblings, 0 replies; only message in thread
From: John Baldwin @ 2022-04-26 0:21 UTC (permalink / raw)
To: gdb-patches
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 | 1 +
1 file changed, 1 insertion(+)
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 <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
+#include <array>
/* Path utilities. */
--
2.34.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-26 0:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-26 0:21 [PUSHED OBV] gdbsupport/pathstuff.h: #include <array> explicitly for std::array<> John Baldwin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).