From fff18b4e76d3757a78e5583010bbce3772461f4d Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Thu, 8 Feb 2001 03:06:43 +0000 Subject: ChangeLog, chattr.c, lsattr.c: chattr.c, lsattr.c: Define the _LARGEFILE64_SOURCE to force the use of the LFS so that lstat will work on large files. --- misc/chattr.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'misc/chattr.c') diff --git a/misc/chattr.c b/misc/chattr.c index f0301e67..d5449f35 100644 --- a/misc/chattr.c +++ b/misc/chattr.c @@ -18,6 +18,9 @@ * 98/12/29 - Display version info only when -V specified (G M Sipe) */ +#define _LARGEFILE64_SOURCE +#define _FILE_OFFSET_BITS 64 + #include #include #include -- cgit v1.2.3