diff options
Diffstat (limited to 'io')
-rw-r--r-- | io/fcntl.h | 3 | ||||
-rw-r--r-- | io/sys/stat.h | 2 |
2 files changed, 3 insertions, 2 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 diff --git a/io/sys/stat.h b/io/sys/stat.h index 15ae35b199..364c43f8f4 100644 --- a/io/sys/stat.h +++ b/io/sys/stat.h @@ -444,7 +444,7 @@ extern int __xmknodat (int __ver, int __fd, __const char *__path, __mode_t __mode, __dev_t *__dev) __THROW __nonnull ((3, 5)); -#if defined __GNUC__ && __GNUC__ >= 2 +#if defined __GNUC__ && __GNUC__ >= 2 && defined __USE_EXTERN_INLINES /* Inlined versions of the real stat and mknod functions. */ __extern_inline int |