ldlang.c: Don't include "elf-bfd.h" twice

* ldlang.c: Don't include "elf-bfd.h" twice.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
This commit is contained in:
H.J. Lu
2025-08-07 07:39:54 -07:00
parent 97b6ffe44b
commit 1d4757b724

View File

@@ -44,14 +44,10 @@
#include "elf-bfd.h"
#include "bfdver.h"
#include <errno.h>
#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