Revert "[tools] mklibs: update to 0.1.34"
[openwrt/svn-archive/archive.git] / tools / mklibs / patches / 001-missing_includes.patch
1 --- a/src/mklibs-readelf/elf.cpp
2 +++ b/src/mklibs-readelf/elf.cpp
3 @@ -25,6 +25,7 @@
4 #include <fcntl.h>
5 #include <sys/mman.h>
6 #include <sys/stat.h>
7 +#include <unistd.h>
8
9 using namespace Elf;
10
11 --- a/src/mklibs-readelf/main.cpp
12 +++ b/src/mklibs-readelf/main.cpp
13 @@ -7,6 +7,7 @@
14
15 #include <elf.h>
16 #include <getopt.h>
17 +#include <stdio.h>
18
19 #include "elf.hpp"
20