--- a/trysendfile.c +++ b/trysendfile.c @@ -62,7 +62,8 @@ #define _FILE_OFFSET_BITS 64 #include #include -#if defined(__GLIBC__) +#include +#if defined(__GLIBC__) || defined(__ANDROID__) #include #elif defined(__dietlibc__) #include