From f580ce76b0868c1604b0a17529f7360801231173 Mon Sep 17 00:00:00 2001 From: jow Date: Mon, 16 Apr 2012 15:11:32 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31315 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- tools/mklibs/patches/011-missing_unistd.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tools/mklibs/patches/011-missing_unistd.patch (limited to 'tools/mklibs') diff --git a/tools/mklibs/patches/011-missing_unistd.patch b/tools/mklibs/patches/011-missing_unistd.patch new file mode 100644 index 000000000..c23781268 --- /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; + -- cgit v1.2.3