--- fdisk.h-orig 1997-01-14 21:34:13.000000000 +0100 +++ fdisk.h 2004-12-13 15:36:42.575004576 +0100 @@ -2,6 +2,11 @@ fdisk.h */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #define SECTOR_SIZE 512 #define NETBSD_PARTITION 0xa5 #define cround(n) (((n) + display_factor * unit_flag) / display_factor)