summaryrefslogtreecommitdiffstats
path: root/src/parser_bison.y
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-06-11 16:03:32 +0200
committerPhil Sutter <phil@nwl.cc>2021-06-14 13:31:07 +0200
commit7c3b2a7acbdc793b822a230ec0c28086c7d0365d (patch)
tree612bd2c7680068850865efb0e5f839ecc605521e /src/parser_bison.y
parentbbcc5eda7e5880cf605ff470d5830dfae5da925b (diff)
parser_bison: Fix for implicit declaration of isalnum
Have to include ctype.h to make it known. Fixes: e76bb37940181 ("src: allow for variables in the log prefix string") Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'src/parser_bison.y')
-rw-r--r--src/parser_bison.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser_bison.y b/src/parser_bison.y
index abce0479..bd2232a3 100644
--- a/src/parser_bison.y
+++ b/src/parser_bison.y
@@ -10,6 +10,7 @@
%{
+#include <ctype.h>
#include <stddef.h>
#include <stdio.h>
#include <inttypes.h>