From a6ac2ec12df545526b7cf92feb771e0a2bb1bbf3 Mon Sep 17 00:00:00 2001 From: Bernd Schubert Date: Tue, 5 Mar 2024 23:39:44 +0100 Subject: [PATCH] Fix undefined loff_t in test_write_cache.c on alpine This fixes #899. Seems that Alpine (and maybe Fedora) need _GNU_SOURCE to get loff_t. --- test/test_write_cache.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_write_cache.c b/test/test_write_cache.c index 92471f1..6b12a9d 100644 --- a/test/test_write_cache.c +++ b/test/test_write_cache.c @@ -9,6 +9,8 @@ #define FUSE_USE_VERSION 30 +#define _GNU_SOURCE /* for loff_t */ + #include #include #include -- 2.30.2