From 72429c2a17a7c2f27006d5bee8404e8d73923878 Mon Sep 17 00:00:00 2001 From: Martin Simmons Date: Mon, 24 Jun 2024 12:34:59 +0100 Subject: Include needed unordered_map header Compiling on FreeBSD 13.2 with the default clang version 14.0.5 and top level configure options --with-python=/usr/local/bin/python3.9 gives this error: CXX ada-exp.o ./../binutils-gdb/gdb/ada-exp.y:100:8: error: no template named 'unordered_map' in namespace 'std' std::unordered_map> ~~~~~^ 1 error generated. This change fixes it. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31918 Approved-By: Tom Tromey (cherry picked from commit c702f1ad8a6a51b9c74445c77e1f6e822ba9293b) --- gdb/ada-exp.y | 1 + 1 file changed, 1 insertion(+) diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y index f3cef6d..8cf4b8f 100644 --- a/gdb/ada-exp.y +++ b/gdb/ada-exp.y @@ -36,6 +36,7 @@ %{ #include +#include #include "expression.h" #include "value.h" #include "parser-defs.h" -- cgit v1.1