aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-01-28 18:50:22 +0100
committerOmar Polo <op@omarpolo.com>2021-01-28 18:50:22 +0100
commit32693ee6db7adee378cb369874fd0be2bea447cc (patch)
tree4b6fa579addf2128149d356ed92de5317cf10824
parent415ac7a229aa653458e1bb571afe717fd4779afa (diff)
downloadgmid-32693ee6db7adee378cb369874fd0be2bea447cc.tar.gz
gmid-32693ee6db7adee378cb369874fd0be2bea447cc.tar.bz2
include string.h
openbsd and freebsd yacc include string.h in the generated sources, bison (tested on alpine at least) don't
-rw-r--r--parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index e9b091b..e5a107d 100644
--- a/parse.y
+++ b/parse.y
@@ -19,6 +19,7 @@
#include <err.h>
#include <stdio.h>
+#include <string.h>
#include "gmid.h"