]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: don't include gdbsupport/array-view.h in defs.h
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 22 Apr 2024 20:10:17 +0000 (16:10 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 23 Apr 2024 01:34:19 +0000 (21:34 -0400)
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 <jhb@FreeBSD.org>
gdb/defs.h

index 8ef36c16df97c2185fd5101da791a2a133ae77d8..91724d30195fdd84bea44251accf699445ed575e 100644 (file)
@@ -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.  */