diff -u -r ../strace-4.9/mtd.c ./mtd.c --- ../strace-4.9/mtd.c 2014-05-30 18:10:21.000000000 -0400 +++ ./mtd.c 2014-12-21 14:52:21.111659855 -0500 @@ -30,12 +30,12 @@ /* 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__ # include "mtd-abi.h" #else # include #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 7, 0) +#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 7, 0)) || defined __ANDROID__ # include "ubi-user.h" #else # include