From e5021c6526b68d212eea1fc07881b28c9a3e874a Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 29 Aug 2020 16:58:57 -0700 Subject: [PATCH] file: define _FILE_OFFSET_BITS to 64 Fixes compilation under uClibc-ng where ino_t and off_t are the wrong types for the format string. --- src/file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/file.c b/src/file.c index 8e465b1..70151e3 100644 --- a/src/file.c +++ b/src/file.c @@ -24,6 +24,7 @@ #define _DEFAULT_SOURCE #define _XOPEN_SOURCE +#define _FILE_OFFSET_BITS 64 #include #include