diff options
Diffstat (limited to 'bits')
-rw-r--r-- | bits/stat.h | 5 | ||||
-rw-r--r-- | bits/typesizes.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/bits/stat.h b/bits/stat.h index b9495c52e2..c90450a559 100644 --- a/bits/stat.h +++ b/bits/stat.h @@ -100,4 +100,9 @@ struct stat64 }; #endif +#if defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T +/* Inform libc code that these two types are effectively identical. */ +# define _STAT_MATCHES_STAT64 1 +#endif + #endif /* bits/stat.h */ diff --git a/bits/typesizes.h b/bits/typesizes.h index c3debd0dd6..7779e9c296 100644 --- a/bits/typesizes.h +++ b/bits/typesizes.h @@ -69,6 +69,9 @@ /* Same for ino_t and ino64_t. */ # define __INO_T_MATCHES_INO64_T 1 + +/* Same for blkcnt_t and blkcnt64_t. */ +# define __BLKCNT_T_MATCHES_BLKCNT64_T #endif /* Number of descriptors that can fit in an `fd_set'. */ |