fix mklibs compilation failures on stdio.h not being included
authorFlorian Fainelli <florian@openwrt.org>
Fri, 7 Aug 2009 10:31:27 +0000 (10:31 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 7 Aug 2009 10:31:27 +0000 (10:31 +0000)
SVN-Revision: 17164

tools/mklibs/patches/001-missing_stdio.patch [new file with mode: 0644]

diff --git a/tools/mklibs/patches/001-missing_stdio.patch b/tools/mklibs/patches/001-missing_stdio.patch
new file mode 100644 (file)
index 0000000..c8202fb
--- /dev/null
@@ -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"