aboutsummaryrefslogtreecommitdiff
path: root/ld/config.in
diff options
context:
space:
mode:
Diffstat (limited to 'ld/config.in')
-rw-r--r--ld/config.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/config.in b/ld/config.in
index 5fbc4a3..f4a8a23 100644
--- a/ld/config.in
+++ b/ld/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