mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user