summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/linux/patches/2.6.32.70/clang.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/patches/2.6.32.70/clang.patch b/target/linux/patches/2.6.32.70/clang.patch
new file mode 100644
index 000000000..cd3fd7079
--- /dev/null
+++ b/target/linux/patches/2.6.32.70/clang.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-2.6.32.70.orig/scripts/unifdef.c linux-2.6.32.70/scripts/unifdef.c
+--- linux-2.6.32.70.orig/scripts/unifdef.c 2016-01-29 22:13:00.000000000 +0100
++++ linux-2.6.32.70/scripts/unifdef.c 2018-05-27 15:16:42.000000000 +0200
+@@ -72,7 +72,7 @@
+ #include <string.h>
+ #include <unistd.h>
+
+-size_t strlcpy(char *dst, const char *src, size_t siz);
++//size_t strlcpy(char *dst, const char *src, size_t siz);
+
+ /* types of input lines: */
+ typedef enum {