--- a/libhfs/os/unix.c +++ b/libhfs/os/unix.c @@ -19,6 +19,11 @@ * $Id$ */ +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES +#endif + # ifdef HAVE_CONFIG_H # include "config.h" # endif