firmware/build_patches/011-missing_unistd.patch

13 lines
299 B
Diff

Index: src/mklibs-readelf/elf.cpp
===================================================================
--- 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;