aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mklibs/patches/011-missing_unistd.patch
blob: c23781268872e872b007ce69e171ae44cd2a7d82 (plain)
1
2
3
4
5
6
7
8
9
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;