diff options
Diffstat (limited to 'opcodes/config.in')
-rw-r--r-- | opcodes/config.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/opcodes/config.in b/opcodes/config.in index 4eec821b30..7b97957143 100644 --- a/opcodes/config.in +++ b/opcodes/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 + /* Define to 1 if translation of program messages to the user's native language is requested. */ #undef ENABLE_NLS |