Skip to content

Commit

Permalink
configure.ac: fix configure tests broken with Clang 15 (implicit func…
Browse files Browse the repository at this point in the history
…tion 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 <sam@gentoo.org>
(cherry-picked from commit d0a3570)
  • Loading branch information
thesamesam authored and sezero committed Sep 12, 2022
1 parent 7be77f0 commit 0680314
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2725,6 +2725,7 @@ CheckInputKD()
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <linux/kd.h>
#include <linux/keyboard.h>
#include <sys/ioctl.h>
]], [[
struct kbentry kbe;
kbe.kb_table = KG_CTRL;
Expand Down

0 comments on commit 0680314

Please sign in to comment.