Explorar o código

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 <[email protected]>
(cherry-picked from commit d0a3570300812bc81888e7a7eadb9311621dc9a7)
Sam James %!s(int64=3) %!d(string=hai) anos
pai
achega
0680314c2a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      configure.ac

+ 1 - 0
configure.ac

@@ -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;