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
No binary (build failed)
—
(log yok)
| @@ -14,6 +14,14 @@ | |
| #define PROC_PARTITIONS "/proc/partitions" | |
| + | #include <features.h> |
| + | /* 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 <sys/types.h> | |
| #include <sys/stat.h> /* stat */ | |
| #include <ctype.h> | |