summaryrefslogtreecommitdiff
path: root/scripts/mkflags.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mkflags.c')
-rw-r--r--scripts/mkflags.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/mkflags.c b/scripts/mkflags.c
index d87087b..7e57f84 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;