|
@ -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 */ |
|
|
/* The mtd api changes quickly, so we have to keep a local copy */ |
|
|
#include <linux/version.h> |
|
|
#include <linux/version.h> |
|
|
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0)
|
|
|
-#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" |
|
|
# include "mtd-abi.h" |
|
|
#else |
|
|
#else |
|
|
# include <mtd/mtd-abi.h> |
|
|
# include <mtd/mtd-abi.h> |
|
|