diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-05-19 09:00:00 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-05-19 09:00:00 +0000 |
commit | e052102a7ddf112434ca578b9af16a974f8b4263 (patch) | |
tree | 3b44f45d6fa89e354fd229cdddbddeb6b375932d | |
parent | b0ace355b2eb33642d5ae137fb1c6d9c0586f924 (diff) | |
download | busybox-w32-e052102a7ddf112434ca578b9af16a974f8b4263.tar.gz busybox-w32-e052102a7ddf112434ca578b9af16a974f8b4263.tar.bz2 busybox-w32-e052102a7ddf112434ca578b9af16a974f8b4263.zip |
Make vodz happy and make fdisk always use large file support if
possible, even if LFS is not enabled for the rest of busybox.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@8859 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | util-linux/fdisk.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index ed4261162..a2c03ce79 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
@@ -14,6 +14,14 @@ | |||
14 | 14 | ||
15 | #define PROC_PARTITIONS "/proc/partitions" | 15 | #define PROC_PARTITIONS "/proc/partitions" |
16 | 16 | ||
17 | #include <features.h> | ||
18 | /* Force fdisk to transparently remap 32-bit interfaces | ||
19 | * to instead really use 64 bit interfaces, at least for | ||
20 | * glibc and uClibc... */ | ||
21 | #ifndef __USE_FILE_OFFSET64 | ||
22 | # define __USE_FILE_OFFSET64 1 | ||
23 | #endif | ||
24 | |||
17 | #include <sys/types.h> | 25 | #include <sys/types.h> |
18 | #include <sys/stat.h> /* stat */ | 26 | #include <sys/stat.h> /* stat */ |
19 | #include <ctype.h> | 27 | #include <ctype.h> |