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

168a1c
From f09f39704d8bfa15d236b6891aabef270ec43d73 Mon Sep 17 00:00:00 2001
168a1c
From: Phil Sutter <phil@nwl.cc>
168a1c
Date: Fri, 11 Jun 2021 16:03:32 +0200
168a1c
Subject: [PATCH] parser_bison: Fix for implicit declaration of isalnum
168a1c
168a1c
Have to include ctype.h to make it known.
168a1c
168a1c
Fixes: e76bb37940181 ("src: allow for variables in the log prefix string")
168a1c
Signed-off-by: Phil Sutter <phil@nwl.cc>
168a1c
(cherry picked from commit 7c3b2a7acbdc793b822a230ec0c28086c7d0365d)
168a1c
Signed-off-by: Phil Sutter <psutter@redhat.com>
168a1c
---
168a1c
 src/parser_bison.y | 1 +
168a1c
 1 file changed, 1 insertion(+)
168a1c
168a1c
diff --git a/src/parser_bison.y b/src/parser_bison.y
168a1c
index 519e8efe5ab7e..8644f66106496 100644
168a1c
--- a/src/parser_bison.y
168a1c
+++ b/src/parser_bison.y
168a1c
@@ -10,6 +10,7 @@
168a1c
 
168a1c
 %{
168a1c
 
168a1c
+#include <ctype.h>
168a1c
 #include <stddef.h>
168a1c
 #include <stdio.h>
168a1c
 #include <inttypes.h>
168a1c
-- 
168a1c
2.31.1
168a1c