diff --git a/src/test/fuzz/util.h b/src/test/fuzz/util.h index 8bbc32c7f5..b4b9eb45b5 100644 --- a/src/test/fuzz/util.h +++ b/src/test/fuzz/util.h @@ -345,7 +345,7 @@ public: [&] { mode = "a+"; }); -#ifdef _GNU_SOURCE +#if defined _GNU_SOURCE && !defined __ANDROID__ const cookie_io_functions_t io_hooks = { FuzzedFileProvider::read, FuzzedFileProvider::write,