summaryrefslogtreecommitdiff
path: root/misc/lsattr.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/lsattr.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/lsattr.c')
-rw-r--r--misc/lsattr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/lsattr.c b/misc/lsattr.c
index 857c4818..3fadeb2b 100644
--- a/misc/lsattr.c
+++ b/misc/lsattr.c
@@ -17,6 +17,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>
#ifdef HAVE_ERRNO_H