From 0680314c2aa48997df67bb4ae51be017bc9ef643 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 12 Sep 2022 18:02:21 +0100 Subject: [PATCH] configure.ac: fix configure tests broken with Clang 15 (implicit function declarations) Clang 15 makes implicit function declarations fatal by default which leads to some configure tests silently failing/returning the wrong result. Signed-off-by: Sam James (cherry-picked from commit d0a3570300812bc81888e7a7eadb9311621dc9a7) --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 71d51a0b0..1295d396d 100644 --- a/configure.ac +++ b/configure.ac @@ -2725,6 +2725,7 @@ CheckInputKD() AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include #include + #include ]], [[ struct kbentry kbe; kbe.kb_table = KG_CTRL;