termux-packages/packages/strace/mtd.c.patch

13 lines
379 B
Diff
Raw Normal View History

2016-06-09 16:05:43 +02:00
diff -u -r ../strace-4.12/mtd.c ./mtd.c
--- ../strace-4.12/mtd.c 2016-05-28 15:16:32.000000000 -0400
+++ ./mtd.c 2016-06-09 09:49:02.054555983 -0400
@@ -32,7 +32,7 @@
2015-06-13 01:03:31 +02:00
/* The mtd api changes quickly, so we have to keep a local copy */
#include <linux/version.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0)
2017-02-20 05:57:01 +01:00
+#if 1
2015-06-13 01:03:31 +02:00
# include "mtd-abi.h"
#else
# include <mtd/mtd-abi.h>