Commit | Line | Data |
---|---|---|
1 | diff -u -r ../strace-4.12/ubi.c ./ubi.c | |
2 | --- ../strace-4.12/ubi.c 2016-05-28 06:29:30.000000000 -0400 | |
3 | +++ ./ubi.c 2016-06-09 09:56:41.495280471 -0400 | |
4 | @@ -30,7 +30,7 @@ | |
5 | ||
6 | /* The UBI api changes, so we have to keep a local copy */ | |
7 | #include <linux/version.h> | |
8 | -#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 7, 0) | |
9 | +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 7, 0) || defined __ANDROID__ | |
10 | # include "ubi-user.h" | |
11 | #else | |
12 | # include <mtd/ubi-user.h> |