From: H.J. Lu Date: Thu, 7 Aug 2025 14:39:54 +0000 (-0700) Subject: ldlang.c: Don't include "elf-bfd.h" twice X-Git-Tag: gdb-17-branchpoint~368 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1d4757b724abf2043f67fd86ff4cf3fab90bdd3b;p=thirdparty%2Fbinutils-gdb.git ldlang.c: Don't include "elf-bfd.h" twice * ldlang.c: Don't include "elf-bfd.h" twice. Signed-off-by: H.J. Lu --- diff --git a/ld/ldlang.c b/ld/ldlang.c index 6e31c359c9d..fc7a7d2ced6 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -44,14 +44,10 @@ #include "elf-bfd.h" #include "bfdver.h" #include - #if BFD_SUPPORTS_PLUGINS #include "plugin.h" #endif -/* FIXME: Put it here to avoid NAME conflict from ldgram.h. */ -#include "elf-bfd.h" - #ifndef offsetof #define offsetof(TYPE, MEMBER) ((size_t) & (((TYPE*) 0)->MEMBER)) #endif