summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libelf/elf_begin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libelf/elf_begin.c b/lib/libelf/elf_begin.c
index d59042c..7879dbe 100644
--- a/lib/libelf/elf_begin.c
+++ b/lib/libelf/elf_begin.c
@@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$");
#include <ar.h>
#include <ctype.h>
#include <libelf.h>
+#include <unistd.h>
#include "_libelf.h"
OpenPOWER on IntegriCloud