From a8d663260d3f628a040bfc195f80da2baa5e4157 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich 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 SVN-Revision: 31315 --- 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') diff --git a/tools/mklibs/patches/011-missing_unistd.patch b/tools/mklibs/patches/011-missing_unistd.patch new file mode 100644 index 0000000..c237812 --- /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.1