diff options
Diffstat (limited to 'ports/sysdeps/unix')
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/alpha/bits/stat.h | 3 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/generic/bits/typesizes.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/bits/stat.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/stat.h index 68e5989aa2..d2ba065083 100644 --- a/ports/sysdeps/unix/sysv/linux/alpha/bits/stat.h +++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/stat.h @@ -117,6 +117,9 @@ struct stat64 }; #endif +/* Inform libc code that these two types are effectively identical. */ +#define _STAT_MATCHES_STAT64 1 + #undef __ST_TIME /* Tell code we have these members. */ diff --git a/ports/sysdeps/unix/sysv/linux/generic/bits/typesizes.h b/ports/sysdeps/unix/sysv/linux/generic/bits/typesizes.h index d7d2a5c10d..b36a7479e6 100644 --- a/ports/sysdeps/unix/sysv/linux/generic/bits/typesizes.h +++ b/ports/sysdeps/unix/sysv/linux/generic/bits/typesizes.h @@ -70,6 +70,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'. */ |