aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorIsaac Dunham <ibid.ag@gmail.com>2015-08-04 19:40:56 -0700
committerRob Landley <rob@landley.net>2015-08-08 17:03:38 -0500
commit79191b6c4857ee08f093ba792c9d9db4cb4f1258 (patch)
tree798dd9c53db3cd3dc50cc33be86a8f4b34845d59 /scripts
parentd5258b43a2f6795cb49203d67deefd78588dedd7 (diff)
downloadtoybox-79191b6c4857ee08f093ba792c9d9db4cb4f1258.tar.gz
scripts/mkflags.c: add missing unistd.h, ctype.h
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mkflags.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/mkflags.c b/scripts/mkflags.c
index d87087bc..7e57f843 100644
--- 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;