[PATCH xfsprogs 2/2] linux.h: Define xfs_off_t as int64_t
Christoph Hellwig
hch at infradead.org
Mon Aug 1 01:24:49 CDT 2016
On Sat, Jul 30, 2016 at 03:37:37PM +0200, Felix Janda wrote:
> int64_t is guaranteed to have the correct size and signedness and is
> always avaible because linux.h has a <inttypes.h> include.
>
> Fixes compilation error "unkown type name 'off64_t'" on linux when the
> public header <xfs.h> is included without _LARGEFILE64_SOURCE or
> _GNU_SOURCE defined. This bug was introduced in commit
> cb898f157f8410a03cf5f3400baa1df9e5eecd33.
I would much prefer to just define _LARGEFILE64_SOURCE in linux.h..
More information about the xfs
mailing list