diff options
Diffstat (limited to 'libc/include/sys/stat.h')
-rw-r--r-- | libc/include/sys/stat.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libc/include/sys/stat.h b/libc/include/sys/stat.h index 7017865bd..620f46a8d 100644 --- a/libc/include/sys/stat.h +++ b/libc/include/sys/stat.h @@ -171,7 +171,7 @@ mode_t umask(mode_t mode) { } #endif /* defined(__BIONIC_FORTIFY) */ -extern int mkfifo(const char*, mode_t); +_BIONIC_NOT_BEFORE_21(extern int mkfifo(const char*, mode_t);) extern int mkfifoat(int, const char*, mode_t); extern int fchmodat(int, const char*, mode_t, int); @@ -183,6 +183,10 @@ extern int mknodat(int, const char*, mode_t, dev_t); extern int utimensat(int fd, const char *path, const struct timespec times[2], int flags); extern int futimens(int fd, const struct timespec times[2]); +#if __ANDROID_API__ < 21 +#include <android/legacy_sys_stat_inlines.h> +#endif + __END_DECLS #endif /* _SYS_STAT_H_ */ |