--- src/drivers/oldworld/scsi_main.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/drivers/oldworld/scsi_main.c 2004-12-13 19:14:53.286913872 +0100 @@ -14,6 +14,10 @@ * */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif #include "mol_config.h" #include "booter.h" --- src/drivers/oldworld/include/scsi_main.h-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/drivers/oldworld/include/scsi_main.h 2004-12-13 19:14:59.434979224 +0100 @@ -14,6 +14,11 @@ * */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #ifndef _H_SCSI_MAIN #define _H_SCSI_MAIN --- src/drivers/oldworld/scsi-unit.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/drivers/oldworld/scsi-unit.c 2004-12-13 19:15:05.629037584 +0100 @@ -14,6 +14,11 @@ * */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #include "mol_config.h" /* #define VERBOSE */ --- src/drivers/osi_driver.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/drivers/osi_driver.c 2004-12-13 19:15:32.895892392 +0100 @@ -15,6 +15,11 @@ * */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #include "mol_config.h" #include "promif.h" #include "booter.h" --- src/drivers/disk/ablk.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/drivers/disk/ablk.c 2004-12-13 19:15:39.655864720 +0100 @@ -14,6 +14,11 @@ * */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #include "mol_config.h" #include #include --- src/drivers/disk/disk_open.c-orig 2004-12-13 19:09:16.799067000 +0100 +++ src/drivers/disk/disk_open.c 2004-12-13 19:15:45.009050912 +0100 @@ -14,6 +14,11 @@ * */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #include "mol_config.h" #include --- src/drivers/disk/blkdev.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/drivers/disk/blkdev.c 2004-12-13 19:15:57.653128720 +0100 @@ -15,6 +15,11 @@ * */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #include "mol_config.h" #include --- src/drivers/disk/ablk-cd.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/drivers/disk/ablk-cd.c 2004-12-13 19:16:04.395103784 +0100 @@ -14,6 +14,11 @@ * */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #include "mol_config.h" #include #include --- src/drivers/disk/pseudofs.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/drivers/disk/pseudofs.c 2004-12-13 19:16:09.277361568 +0100 @@ -14,6 +14,11 @@ * */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #include "mol_config.h" #include #include "pseudofs.h" --- src/include/llseek.h-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/include/llseek.h 2004-12-13 19:16:42.670285072 +0100 @@ -14,6 +14,11 @@ * */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #ifndef _H_LONG_LSEEK #define _H_LONG_LSEEK --- src/lib/llseek.c-orig 2004-12-13 19:09:16.798067000 +0100 +++ src/lib/llseek.c 2004-12-13 19:16:52.386807936 +0100 @@ -14,6 +14,11 @@ * */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #include "mol_config.h" #include #include