summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-08-07 10:31:27 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-08-07 10:31:27 +0000
commita865c9deb54100c51990a33b52637fac25d31992 (patch)
treec128045bd10ea4eba53c696c16335fac09cd4eb0 /tools
parent34e22309efd0e9ccb207daf0e09d413d373936b8 (diff)
downloadmtk-20170518-a865c9deb54100c51990a33b52637fac25d31992.zip
mtk-20170518-a865c9deb54100c51990a33b52637fac25d31992.tar.gz
mtk-20170518-a865c9deb54100c51990a33b52637fac25d31992.tar.bz2
fix mklibs compilation failures on stdio.h not being included
SVN-Revision: 17164
Diffstat (limited to 'tools')
-rw-r--r--tools/mklibs/patches/001-missing_stdio.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/mklibs/patches/001-missing_stdio.patch b/tools/mklibs/patches/001-missing_stdio.patch
new file mode 100644
index 0000000..c8202fb
--- /dev/null
+++ b/tools/mklibs/patches/001-missing_stdio.patch
@@ -0,0 +1,11 @@
+diff -urN mklibs-0.1.26/src/mklibs-readelf/main.cpp mklibs-0.1.26.new/src/mklibs-readelf/main.cpp
+--- mklibs-0.1.26/src/mklibs-readelf/main.cpp 2007-09-20 19:41:34.000000000 +0200
++++ mklibs-0.1.26.new/src/mklibs-readelf/main.cpp 2009-08-07 12:20:21.000000000 +0200
+@@ -6,6 +6,7 @@
+
+ #include <elf.h>
+ #include <getopt.h>
++#include <stdio.h>
+
+ #include "elf.hpp"
+