From: Eric Andersen Date: Wed, 19 May 2004 09:00:00 +0000 (-0000) Subject: Make vodz happy and make fdisk always use large file support if X-Git-Tag: 1_00_rc1~56 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=256c4fd587691076846383ab8b207b07cd5614e4;p=platform%2Fupstream%2Fbusybox.git 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 --- diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index ed42611..a2c03ce 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c @@ -14,6 +14,14 @@ #define PROC_PARTITIONS "/proc/partitions" +#include +/* Force fdisk to transparently remap 32-bit interfaces + * to instead really use 64 bit interfaces, at least for + * glibc and uClibc... */ +#ifndef __USE_FILE_OFFSET64 +# define __USE_FILE_OFFSET64 1 +#endif + #include #include /* stat */ #include