--- config/lxdialog/textbox.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ config/lxdialog/textbox.c-orig 2004-12-13 19:14:11.599251360 +0100 @@ -19,6 +19,10 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif #include "dialog.h" static void back_lines (int n); --- src/drivers/pci.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/drivers/pci.c-orig 2004-12-13 19:14:40.462863424 +0100 @@ -17,6 +17,10 @@ * */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif #include "mol_config.h" /* #define VERBOSE */ --- src/drivers/osi_sound.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/drivers/osi_sound.c-orig 2004-12-13 19:14:47.654770088 +0100 @@ -14,6 +14,10 @@ * */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif #define ALSA_PCM_NEW_HW_PARAMS_API /* #define ALSA_PCM_NEW_SW_PARAMS_API */ --- src/drivers/oldworld/scsi_main.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/drivers/oldworld/scsi_main.c-orig 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-orig 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-orig 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/oldworld/swim3.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/drivers/oldworld/swim3.c-orig 2004-12-13 19:15:15.750498888 +0100 @@ -20,6 +20,11 @@ * */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #include "mol_config.h" #include --- src/drivers/nvram.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/drivers/nvram.c-orig 2004-12-13 19:15:22.200518336 +0100 @@ -14,6 +14,11 @@ * */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #include "mol_config.h" #include --- src/drivers/include/swim_hw.h-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/drivers/include/swim_hw.h-orig 2004-12-13 19:15:27.816664552 +0100 @@ -14,6 +14,11 @@ * */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #ifndef _H_SWIM_HW #define _H_SWIM_HW --- src/drivers/osi_driver.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/drivers/osi_driver.c-orig 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-orig 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-orig 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-orig 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-orig 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-orig 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/cpu/mpc107/init.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/cpu/mpc107/init.c-orig 2004-12-13 19:16:14.513565544 +0100 @@ -14,6 +14,11 @@ * */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #include "mol_config.h" #include #include --- src/booter/elf.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/booter/elf.c-orig 2004-12-13 19:16:18.943892032 +0100 @@ -14,6 +14,11 @@ * */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #include "mol_config.h" #include #include "booter.h" --- src/main/promif.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/main/promif.c-orig 2004-12-13 19:16:23.810152248 +0100 @@ -14,6 +14,11 @@ * */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #include "mol_config.h" #include #include --- src/main/memory.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/main/memory.c-orig 2004-12-13 19:16:29.296318224 +0100 @@ -13,6 +13,11 @@ * as published by the Free Software Foundation */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #include "mol_config.h" #include #include "debugger.h" --- src/main/session.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/main/session.c-orig 2004-12-13 19:16:34.306556552 +0100 @@ -14,6 +14,11 @@ * */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #include "mol_config.h" #include "session.h" #include "verbose.h" --- src/include/llseek.h-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/include/llseek.h-orig 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/netdriver/tun.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ src/netdriver/tun.c-orig 2004-12-13 19:16:47.855496800 +0100 @@ -20,6 +20,11 @@ * Modifications for 2.3.99-pre5 kernel. */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #define TUN_VER "1.5" #include --- src/lib/llseek.c-orig 2004-12-13 19:09:16.798067000 +0100 +++ src/lib/llseek.c-orig 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 --- src/lib/elfload.c-orig 2004-03-21 23:20:40.000000000 +0100 +++ src/lib/elfload.c-orig 2004-12-13 19:17:08.754319696 +0100 @@ -29,6 +29,11 @@ (at your option) any later version. */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #include "mol_config.h" #include "elfload.h" #include "byteorder.h" --- util/dv/dumpvars.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ util/dv/dumpvars.c-orig 2004-12-13 19:17:13.506597240 +0100 @@ -14,6 +14,11 @@ * */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #define DUMPVARS #include "mol_config.h" #include --- util/nvs/nvs.c-orig 2004-03-21 23:20:39.000000000 +0100 +++ util/nvs/nvs.c-orig 2004-12-13 19:17:18.003913544 +0100 @@ -1,5 +1,10 @@ /* Modified version of nvsetenv */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + #include "mol_config.h" #include #include