Blame SOURCES/0064-parser_bison-Fix-for-implicit-declaration-of-isalnum.patch

bfbb76
From bb4718fa421938c4a501b9a55df68de16a572f23 Mon Sep 17 00:00:00 2001
bfbb76
From: Phil Sutter <psutter@redhat.com>
bfbb76
Date: Wed, 6 Oct 2021 17:32:04 +0200
bfbb76
Subject: [PATCH] parser_bison: Fix for implicit declaration of isalnum
bfbb76
bfbb76
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1999059
bfbb76
Upstream Status: nftables commit 7c3b2a7acbdc7
bfbb76
bfbb76
commit 7c3b2a7acbdc793b822a230ec0c28086c7d0365d
bfbb76
Author: Phil Sutter <phil@nwl.cc>
bfbb76
Date:   Fri Jun 11 16:03:32 2021 +0200
bfbb76
bfbb76
    parser_bison: Fix for implicit declaration of isalnum
bfbb76
bfbb76
    Have to include ctype.h to make it known.
bfbb76
bfbb76
    Fixes: e76bb37940181 ("src: allow for variables in the log prefix string")
bfbb76
    Signed-off-by: Phil Sutter <phil@nwl.cc>
bfbb76
---
bfbb76
 src/parser_bison.y | 1 +
bfbb76
 1 file changed, 1 insertion(+)
bfbb76
bfbb76
diff --git a/src/parser_bison.y b/src/parser_bison.y
bfbb76
index 5ab5744..d38ec30 100644
bfbb76
--- a/src/parser_bison.y
bfbb76
+++ b/src/parser_bison.y
bfbb76
@@ -10,6 +10,7 @@
bfbb76
 
bfbb76
 %{
bfbb76
 
bfbb76
+#include <ctype.h>
bfbb76
 #include <stddef.h>
bfbb76
 #include <stdio.h>
bfbb76
 #include <inttypes.h>
bfbb76
-- 
bfbb76
2.31.1
bfbb76