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 @@ #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