tools/mklibs: add missing <unistd.h> in readelf/elf.cpp
[openwrt/staging/mkresin.git] / tools / mklibs / patches / 011-missing_unistd.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