]> git.alsa-project.org Git - alsa-lib.git/commit
output: include stdarg.h
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 11 Jun 2022 17:12:19 +0000 (19:12 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 17 Jun 2022 08:25:39 +0000 (10:25 +0200)
commit92fff4e9d06922fa3648d85c8501638c869d6184
treeb985b255c5cb4389f854ebd333b36b7cad2cb31b
parentff0db96bbc16440f6f0558f797bcc31e89f6df9e
output: include stdarg.h

Fixes a build error with alsa-utils when build with a uClibc toolchain:

alsa-utils/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/alsa/output.h:75:66:
 error: unknown type name ‘va_list’
   75 | int snd_output_vprintf(snd_output_t *output, const char *format, va_list args);
      |                                                                  ^~~~~~~
alsa-utils/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/alsa/output.h:1:1:
 note: ‘va_list’ is defined in header ‘<stdarg.h>’; did you forget to ‘#include <stdarg.h>’?

Fixes: https://github.com/alsa-project/alsa-lib/pull/237
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/input.h
include/output.h