about summary refs log tree commit diff
path: root/io/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'io/fcntl.h')
-rw-r--r--io/fcntl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/io/fcntl.h b/io/fcntl.h
index c89bf625bf..6bfa9fd6cf 100644
--- a/io/fcntl.h
+++ b/io/fcntl.h
@@ -212,7 +212,8 @@ extern int posix_fallocate64 (int __fd, __off64_t __offset, __off64_t __len);
 
 
 /* Define some macros helping to catch common problems.  */
-#if __USE_FORTIFY_LEVEL > 0 && !defined __cplusplus
+#if __USE_FORTIFY_LEVEL > 0 && defined __extern_always_inline \
+    && !defined __cplusplus
 # include <bits/fcntl2.h>
 #endif