X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/f6e85769c9e29fcf18c503603624a2d05b47a151..f252068260cd4a0d8abcaf8fa3b0f9328854d707:/packages/strace/mtd.c.patch diff --git a/packages/strace/mtd.c.patch b/packages/strace/mtd.c.patch index 5ca3f8d6..a51c0f00 100644 --- a/packages/strace/mtd.c.patch +++ b/packages/strace/mtd.c.patch @@ -6,7 +6,7 @@ diff -u -r ../strace-4.12/mtd.c ./mtd.c /* The mtd api changes quickly, so we have to keep a local copy */ #include -#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0) -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0) || defined __ANDROID__ ++#if 1 # include "mtd-abi.h" #else # include