From: Simon Marchi Date: Mon, 22 Apr 2024 20:10:17 +0000 (-0400) Subject: gdb: don't include gdbsupport/array-view.h in defs.h X-Git-Tag: gdb-15-branchpoint~289 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6bfde7e33e2220766b82abd5b88b4b33028d260a;p=thirdparty%2Fbinutils-gdb.git gdb: don't include gdbsupport/array-view.h in defs.h Nothing in defs.h actually uses this. Everything that I (and the buildbot) can compile still compiles, so I guess that all users of array_view already include it one way or another. Worst case, if this causes some build failure, the fix will be one #include away. Change-Id: I981be98b0653cc18c929d85e9afd8732332efd15 Approved-By: John Baldwin --- diff --git a/gdb/defs.h b/gdb/defs.h index 8ef36c16df9..91724d30195 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -61,7 +61,6 @@ #include "gdbsupport/host-defs.h" #include "gdbsupport/enum-flags.h" -#include "gdbsupport/array-view.h" /* Just in case they're not defined in stdio.h. */