coreutils: Note that endpwent is not supported to avoid runtime warning
[termux-packages] / packages / coreutils / dd_sys_mtios_h.patch
CommitLineData
59f0d218
FF
1diff -u -r ../coreutils-8.22/src/dd.c ./src/dd.c
2--- ../coreutils-8.22/src/dd.c 2013-12-04 15:48:30.000000000 +0100
3+++ ./src/dd.c 2014-02-07 01:21:03.000000000 +0100
4@@ -1551,7 +1551,11 @@
5
6 #ifdef __linux__
7
8+#ifdef __ANDROID__
9+# include <linux/mtio.h>
10+#else
11 # include <sys/mtio.h>
12+#endif
13
14 # define MT_SAME_POSITION(P, Q) \
15 ((P).mt_resid == (Q).mt_resid \