From: Jo-Philipp Wich Date: Mon, 16 Apr 2012 15:11:32 +0000 (+0000) Subject: tools/mklibs: add missing in readelf/elf.cpp X-Git-Tag: v19.07.0-rc1~24923 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a8d663260d3f628a040bfc195f80da2baa5e4157;p=openwrt%2Fstaging%2Fhauke.git tools/mklibs: add missing in readelf/elf.cpp Fixes compile on my Arch Linux system, as unistd.h is needed for ::close(). Signed-off-by: Matthias Schiffer SVN-Revision: 31315 --- diff --git a/tools/mklibs/patches/011-missing_unistd.patch b/tools/mklibs/patches/011-missing_unistd.patch new file mode 100644 index 0000000000..c237812688 --- /dev/null +++ b/tools/mklibs/patches/011-missing_unistd.patch @@ -0,0 +1,10 @@ +--- a/src/mklibs-readelf/elf.cpp ++++ b/src/mklibs-readelf/elf.cpp +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + + using namespace Elf; +