projects
/
15.05
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tools/mklibs: add missing <unistd.h> in readelf/elf.cpp
[15.05/openwrt.git]
/
tools
/
mklibs
/
patches
/
011-missing_unistd.patch
diff --git a/tools/mklibs/patches/011-missing_unistd.patch
b/tools/mklibs/patches/011-missing_unistd.patch
new file mode 100644
(file)
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 <fcntl.h>
+ #include <sys/mman.h>
+ #include <sys/stat.h>
++#include <unistd.h>
+
+ using namespace Elf;
+