summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2014-09-05 21:43:49 +0200
committerRich Felker <dalias@aerifal.cx>2014-09-05 16:03:07 -0400
commit7ff804269bb0594431308ad328239aeeb5ceb057 (patch)
tree253cb7207dc001ad5a66d28f56250bd93351287e /include/sys
parent36c30c4ddd92ec3a058d54aac31a5734be6380f8 (diff)
downloadmusl-7ff804269bb0594431308ad328239aeeb5ceb057.tar.gz
musl-7ff804269bb0594431308ad328239aeeb5ceb057.tar.bz2
musl-7ff804269bb0594431308ad328239aeeb5ceb057.tar.xz
musl-7ff804269bb0594431308ad328239aeeb5ceb057.zip
fix macros for LFS *64_t types in sys/stat.h, sys/types.h, glob.h
there is no blksize64_t (blksize_t is always long) but there are fsblkcnt64_t and fsfilcnt64_t types in sys/stat.h and sys/types.h. and glob.h missed glob64_t.
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/stat.h3
-rw-r--r--include/sys/types.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/stat.h b/include/sys/stat.h
index c6abab5a..82a64904 100644
--- a/include/sys/stat.h
+++ b/include/sys/stat.h
@@ -100,8 +100,9 @@ int lchmod(const char *, mode_t);
#define fstat64 fstat
#define lstat64 lstat
#define fstatat64 fstatat
-#define blksize64_t blksize_t
#define blkcnt64_t blkcnt_t
+#define fsblkcnt64_t fsblkcnt_t
+#define fsfilcnt64_t fsfilcnt_t
#define ino64_t ino_t
#define off64_t off_t
#endif
diff --git a/include/sys/types.h b/include/sys/types.h
index f00db03e..75e489c5 100644
--- a/include/sys/types.h
+++ b/include/sys/types.h
@@ -73,7 +73,6 @@ typedef unsigned long long u_quad_t;
#endif
#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
-#define blksize64_t blksize_t
#define blkcnt64_t blkcnt_t
#define fsblkcnt64_t fsblkcnt_t
#define fsfilcnt64_t fsfilcnt_t