Hi
Hope I am not too anoying ... ;-)
I have tried both _GNU_SOURCE and _LARGEFILE64_SOURCE and in neither case do I get a definition for 'struct stat64'
If I understand correctly then source using 'struct stat64' should be fixed to use 'struct stat' instead ?
If this is not correct, then 'struct stat64' should probably be added to <sys/stat.h> as only the following are defined there:
#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
#define stat64 stat
#define fstat64 fstat
#define lstat64 lstat
#define fstatat64 fstatat
#define blksize64_t blksize_t
#define blkcnt64_t blkcnt_t
#define ino64_t ino_t
#define off64_t off_t
#endif
Regards
Paul