From 740ccea39ecf04c96025a04c5f97de28c71ff8b5 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 22 Apr 2024 16:10:16 -0400 Subject: gdb: don't include hashtab.h in defs.h Nothing in defs.h actually uses this. Add some includes for some spots using things from hashtab.h. Note that if the GDB build doesn't use libxxhash, hashtab.h is included by gdbsupport/common-utils.h, so all files still see hashtab.h. It puzzled me for some time why I didn't see build failures in my build (which didn't use libxxhash) but the buildbot gave build failures (it uses libxxhash). Change-Id: I8efd68decdaf579f048941c7537cd689885caa2a Approved-By: John Baldwin --- gdb/dwarf2/die.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/dwarf2/die.h') diff --git a/gdb/dwarf2/die.h b/gdb/dwarf2/die.h index a749b95..d4eab08 100644 --- a/gdb/dwarf2/die.h +++ b/gdb/dwarf2/die.h @@ -22,6 +22,7 @@ #include "complaints.h" #include "dwarf2/attribute.h" +#include "hashtab.h" /* This data structure holds a complete die structure. */ struct die_info -- cgit v1.1