Ian Kent a2032c
diff --git a/Makefile.rules b/Makefile.rules
Ian Kent a2032c
index b1d1a49..30716dc 100644
Ian Kent a2032c
--- a/Makefile.rules
Ian Kent a2032c
+++ b/Makefile.rules
Ian Kent a2032c
@@ -44,7 +44,7 @@ CXXFLAGS  = $(CFLAGS)
Ian Kent a2032c
 LD        = ld
Ian Kent a2032c
 SOLDFLAGS = -shared
Ian Kent a2032c
 
Ian Kent a2032c
-CFLAGS += -D_REENTRANT
Ian Kent a2032c
+CFLAGS += -D_REENTRANT -D_FILE_OFFSET_BITS=64
Ian Kent a2032c
 LDFLAGS += -lpthread
Ian Kent a2032c
 
Ian Kent a2032c
 ifdef DMALLOCLIB