mirror of
https://github.com/termux/termux-packages.git
synced 2025-03-04 08:18:54 +00:00
12 lines
249 B
Diff
12 lines
249 B
Diff
--- a/io/io_sendfile.c
|
|
+++ b/io/io_sendfile.c
|
|
@@ -88,7 +88,7 @@
|
|
|
|
#elif defined(__linux__)
|
|
|
|
-#if defined(__GLIBC__)
|
|
+#if defined(__GLIBC__) || defined(__ANDROID__)
|
|
#include <sys/sendfile.h>
|
|
#elif defined(__dietlibc__)
|
|
#include <sys/sendfile.h>
|