about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--lr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lr.c b/lr.c
index 7635e31..d2ad498 100644
--- a/lr.c
+++ b/lr.c
@@ -31,6 +31,10 @@
 
 #define _GNU_SOURCE
 
+#ifndef _FILE_OFFSET_BITS
+#define _FILE_OFFSET_BITS 64
+#endif
+
 #include <sys/param.h>
 #include <sys/stat.h>
 #include <sys/types.h>