diff options
Diffstat (limited to 'bfd/config.in')
-rw-r--r-- | bfd/config.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/config.in b/bfd/config.in index cb53b14..20b619d 100644 --- a/bfd/config.in +++ b/bfd/config.in @@ -1,5 +1,12 @@ /* config.in. Generated from configure.in by autoheader. */ +/* Check that config.h is #included before system headers + (this works only for glibc, but that should be enough). */ +#if defined(__GLIBC__) && !defined(__CONFIG_H__) +# error config.h must be #included before system headers +#endif +#define __CONFIG_H__ 1 + /* Name of host specific core header file to include in elf.c. */ #undef CORE_HEADER |