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

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