[binutils-gdb] gdb: Add missing #include in solib.h

Roland McGrath roland@sourceware.org
Mon Mar 21 19:07:05 GMT 2022


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fcb335b0a23f7c2871a04ac181c258f3c1a915f3

commit fcb335b0a23f7c2871a04ac181c258f3c1a915f3
Author: Roland McGrath <mcgrathr@google.com>
Date:   Mon Mar 21 12:04:48 2022 -0700

    gdb: Add missing #include in solib.h
    
    The gdb_bfd_ref_ptr type is used in solib.h declarations.

Diff:
---
 gdb/solib.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gdb/solib.h b/gdb/solib.h
index cd6c8a81104..f9b4d3566d7 100644
--- a/gdb/solib.h
+++ b/gdb/solib.h
@@ -1,5 +1,5 @@
 /* Shared library declarations for GDB, the GNU Debugger.
-   
+
    Copyright (C) 1992-2022 Free Software Foundation, Inc.
 
    This file is part of GDB.
@@ -26,6 +26,7 @@ struct target_ops;
 struct target_so_ops;
 struct program_space;
 
+#include "gdb_bfd.h"
 #include "symfile-add-flags.h"
 
 /* Called when we free all symtabs, to free the shared library information


More information about the Gdb-cvs mailing list