[rtems commit] tools/build/binpatch.c: Include <unistd.h> for getopt()

Joel Sherril joel at rtems.org
Tue Mar 24 13:18:11 UTC 2015


Module:    rtems
Branch:    master
Commit:    c2451845f46cb6d41d6455cf153980ec8f9081bb
Changeset: http://git.rtems.org/rtems/commit/?id=c2451845f46cb6d41d6455cf153980ec8f9081bb

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Fri Mar 20 17:57:21 2015 -0500

tools/build/binpatch.c: Include <unistd.h> for getopt()

---

 tools/build/binpatch.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/build/binpatch.c b/tools/build/binpatch.c
index d85303e..9c0a899 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];
 




More information about the vc mailing list