]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
parser_bison: Fix for implicit declaration of isalnum
authorPhil Sutter <phil@nwl.cc>
Fri, 11 Jun 2021 14:03:32 +0000 (16:03 +0200)
committerPhil Sutter <phil@nwl.cc>
Mon, 14 Jun 2021 11:31:07 +0000 (13:31 +0200)
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>
src/parser_bison.y

index abce0479081d24ec633f506593441b2483ff8cfe..bd2232a3de2787716fa3ad09560ce84702ef8771 100644 (file)
@@ -10,6 +10,7 @@
 
 %{
 
+#include <ctype.h>
 #include <stddef.h>
 #include <stdio.h>
 #include <inttypes.h>