mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-18 10:46:41 +00:00
a8d663260d
Fixes compile on my Arch Linux system, as unistd.h is needed for ::close(). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 31315
11 lines
195 B
Diff
11 lines
195 B
Diff
--- 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;
|
|
|