gentoo-full-overlay/sys-fs/hfsutils/files/largerthan2gb.patch

14 lines
216 B
Diff

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