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

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