* [pushed] gdbsupport/packed.h: cleanup includes
@ 2026-10-19 0:49 simon.marchi
0 siblings, 0 replies; only message in thread
From: simon.marchi @ 2026-10-19 0:49 UTC (permalink / raw)
To: gdb-patches; +Cc: Simon Marchi
From: Simon Marchi <simon.marchi@efficios.com>
When opening this file with clangd, it shows that traits.h is unused,
remove it. It also shows that HOST_CHAR_BIT can't be found, include
host-defs.h for that.
Change-Id: I2cd7626232425846d276021b62f6ff6829842dae
---
gdbsupport/packed.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdbsupport/packed.h b/gdbsupport/packed.h
index 70ffb712e192..9a9d3dd966c1 100644
--- a/gdbsupport/packed.h
+++ b/gdbsupport/packed.h
@@ -18,7 +18,7 @@
#ifndef GDBSUPPORT_PACKED_H
#define GDBSUPPORT_PACKED_H
-#include "traits.h"
+#include "host-defs.h"
#include <atomic>
/* Each instantiation and full specialization of the packed template
base-commit: 51a3543256371959571afd7b1ed06e4637a6a193
--
2.55.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-19 0:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-19 0:49 [pushed] gdbsupport/packed.h: cleanup includes simon.marchi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox