summaryrefslogtreecommitdiff
path: root/misc/chattr.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2001-02-08 03:06:43 +0000
committerTheodore Ts'o <tytso@mit.edu>2001-02-08 03:06:43 +0000
commitfff18b4e76d3757a78e5583010bbce3772461f4d (patch)
tree4466c718257fc71b44856c6e08f5df0f0364515d /misc/chattr.c
parent6b7e807e0a69462b4757facdd8a0b2ce364da679 (diff)
downloade2fsprogs-fff18b4e76d3757a78e5583010bbce3772461f4d.tar.gz
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.
Diffstat (limited to 'misc/chattr.c')
-rw-r--r--misc/chattr.c3
1 files changed, 3 insertions, 0 deletions
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 <sys/types.h>
#include <dirent.h>
#include <fcntl.h>