aboutsummaryrefslogtreecommitdiff
path: root/ports/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-08-07 13:08:22 -0700
committerRoland McGrath <roland@hack.frob.com>2012-08-07 13:08:22 -0700
commit75f99c5145faec5e3fc4b1c9f75a7e2588df28b1 (patch)
tree625b8fa0a48313f1e90495b216ad02bdb84c09d2 /ports/sysdeps
parent6dad2c06889774ddaf6eac09799821e3941bfa87 (diff)
downloadglibc-roland/stat64.zip
glibc-roland/stat64.tar.gz
glibc-roland/stat64.tar.bz2
Diffstat (limited to 'ports/sysdeps')
-rw-r--r--ports/sysdeps/unix/sysv/linux/alpha/bits/stat.h3
-rw-r--r--ports/sysdeps/unix/sysv/linux/generic/bits/typesizes.h3
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 68e5989..d2ba065 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 d7d2a5c..b36a747 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'. */