summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-07 10:31:27 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-07 10:31:27 +0000
commit8ba3245d96d218bb9ff361ed722c2d899924f049 (patch)
tree5abfef0379da45e924143036cd46938829e54837 /tools
parentedab4309b6d825d7bf0a9516d13ee8d1acda8eaa (diff)
[tools] fix mklibs compilation failures on stdio.h not being included
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17164 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 000000000..c8202fb1e
--- /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"
+