Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > dfc819c2fb6a06a05901db0fa8dde8a2 > files > 2

hfsutils-3.2.6-19.fc12.src.rpm

diff -urNp libhfs/os/unix.c.orig libhfs/os/unix.c
--- libhfs/os/unix.c	1998-11-03 03:39:13.000000000 +0530
+++ libhfs/os/unix.c	2009-01-11 22:15:55.000000000 +0530
@@ -19,6 +19,11 @@
  * $Id: unix.c,v 1.8 1998/11/02 22:09:13 rob Exp $
  */
 
+#ifdef __linux__
+#define _FILE_OFFSET_BITS 64
+#define _LARGE_FILES
+#endif
+
 # ifdef HAVE_CONFIG_H
 #  include "config.h"
 # endif