From 1fc1c1b7dcdcd60ff87737b03dc915eb1a8c2152 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 30 Oct 2022 18:06:37 +0000 Subject: utils/alsa.m4: include for exit() Clang 16 makes -Wimplicit-function-declaration an error by default and it's easier to just explicitly include rather than hope the ALSA headers always have it. Fixes: https://github.com/alsa-project/alsa-lib/pull/278 Signed-off-by: Sam James Signed-off-by: Jaroslav Kysela --- utils/alsa.m4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/alsa.m4 b/utils/alsa.m4 index 40e50a19..461d8d5e 100644 --- a/utils/alsa.m4 +++ b/utils/alsa.m4 @@ -85,6 +85,7 @@ AC_LANG_PUSH([C]) AC_MSG_CHECKING([for libasound headers version >= $alsa_min_major_version.$alsa_min_minor_version.$alsa_min_micro_version ($min_alsa_version)]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include +#include ]], [[ /* ensure backward compatibility */ #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR) @@ -130,6 +131,7 @@ AC_MSG_CHECKING([for libatopology (sound headers version > 1.1.9)]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include #include +#include ]], [[ /* ensure backward compatibility */ #if !defined(SND_LIB_VERSION) -- cgit v1.2.1