>From 9dcf5d838393a0100125af4aa0f2c2d0a91c61c5 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Thu, 4 Sep 2014 22:14:24 +0200 Subject: [PATCH] fix macros for LFS *64_t types in sys/stat.h and sys/types.h there is no blksize64_t (blksize_t is always long) but there are fsblkcnt64_t and fsfilcnt64_t types. --- include/sys/stat.h | 3 ++- include/sys/types.h | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sys/stat.h b/include/sys/stat.h index c6abab5..82a6490 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 f00db03..75e489c 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 -- 1.7.10.4