alsa-project / alsa-lib

The Advanced Linux Sound Architecture (ALSA) - library
GNU Lesser General Public License v2.1
366 stars 177 forks source link

utils/alsa.m4: include <stdlib.h> for exit() #278

Closed thesamesam closed 1 year ago

thesamesam commented 1 year ago

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.

Signed-off-by: Sam James sam@gentoo.org

thesamesam commented 1 year ago

@perexg Any chance you could take a look? These warnings (soon to be errors) in macros are especially problematic because they affect things which depend on ALSA, rather than just ALSA itself. It can be a bit of a pain to debug.

thesamesam commented 1 year ago

ping

thesamesam commented 1 year ago

Thanks!