summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-20 17:57:21 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-24 08:16:38 -0500
commitc2451845f46cb6d41d6455cf153980ec8f9081bb (patch)
treef3b04e1df06b0f5c45e5d19f82f7872fc288c478 /tools
parent5da717ac0a3c05a4b3d7705ffcd96f820842a161 (diff)
downloadrtems-c2451845f46cb6d41d6455cf153980ec8f9081bb.tar.bz2
tools/build/binpatch.c: Include <unistd.h> for getopt()
Diffstat (limited to 'tools')
-rw-r--r--tools/build/binpatch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/build/binpatch.c b/tools/build/binpatch.c
index d85303e171..9c0a899a26 100644
--- a/tools/build/binpatch.c
+++ b/tools/build/binpatch.c
@@ -5,6 +5,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
+#include <unistd.h>
static char buf[512];