From: Bernd Kuhls Date: Sat, 11 Jun 2022 17:12:19 +0000 (+0200) Subject: output: include stdarg.h X-Git-Tag: v1.2.7.1~1 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=92fff4e9d06922fa3648d85c8501638c869d6184;p=alsa-lib.git 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 ‘’; did you forget to ‘#include ’? Fixes: https://github.com/alsa-project/alsa-lib/pull/237 Signed-off-by: Bernd Kuhls Signed-off-by: Jaroslav Kysela --- diff --git a/include/input.h b/include/input.h index e7ce791f..f84954a9 100644 --- a/include/input.h +++ b/include/input.h @@ -28,6 +28,8 @@ #ifndef __ALSA_INPUT_H #define __ALSA_INPUT_H +#include + #ifdef __cplusplus extern "C" { #endif diff --git a/include/output.h b/include/output.h index 4a970dc4..5e16420b 100644 --- a/include/output.h +++ b/include/output.h @@ -28,6 +28,8 @@ #ifndef __ALSA_OUTPUT_H #define __ALSA_OUTPUT_H +#include + #ifdef __cplusplus extern "C" { #endif