summaryrefslogtreecommitdiff
path: root/bfd/config.in
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2012-09-10 22:30:52 +0000
committerAlan Modra <amodra@bigpond.net.au>2012-09-10 22:30:52 +0000
commite3081899be7570eb90ccfd5d767950d3a62871ee (patch)
treec4557c0730f0838843a555b675c66ce08af8cd19 /bfd/config.in
parente7de4d8a73938756779ccb9d4501cea527e6817f (diff)
downloadbinutils-redhat-e3081899be7570eb90ccfd5d767950d3a62871ee.tar.gz
* config.in: Disable sanity check for kfreebsd.
Diffstat (limited to 'bfd/config.in')
-rw-r--r--bfd/config.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/config.in b/bfd/config.in
index 20b619dd0d..2fc4897ea9 100644
--- a/bfd/config.in
+++ b/bfd/config.in
@@ -2,7 +2,7 @@
/* 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__)
+#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__CONFIG_H__)
# error config.h must be #included before system headers
#endif
#define __CONFIG_H__ 1