OSDN Git Service
(root)
/
android-x86
/
external-toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5258b4
)
scripts/mkflags.c: add missing unistd.h, ctype.h
author
Isaac Dunham
<ibid.ag@gmail.com>
Wed, 5 Aug 2015 02:40:56 +0000
(19:40 -0700)
committer
Rob Landley
<rob@landley.net>
Sat, 8 Aug 2015 22:03:38 +0000
(17:03 -0500)
scripts/mkflags.c
patch
|
blob
|
history
diff --git
a/scripts/mkflags.c
b/scripts/mkflags.c
index
d87087b
..
7e57f84
100644
(file)
--- a/
scripts/mkflags.c
+++ b/
scripts/mkflags.c
@@
-6,10
+6,12
@@
// This is intentionally crappy code because we control the inputs. It leaks
// memory like a sieve and segfaults if malloc returns null, but does the job.
+#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
+#include <ctype.h>
struct flag {
struct flag *next;