From 7548c235bdac9972690ac6e4e0511b9fdce6cdfd Mon Sep 17 00:00:00 2001 From: ArthurSonzogni Date: Fri, 10 Apr 2020 23:23:13 +0200 Subject: Add missing OpenAL-Soft fails to compile on some GCC version: https://travis-ci.com/github/ArthurSonzogni/smk/jobs/318304162 It has regressed likely after: https://github.com/kcat/openal-soft/commit/c83609277bed4be4ef40ed306bf2c57fefa19519 va_start is defined in: - - The repository is using it from: - al/error.cpp - al/filter.cpp - alc/alu.cpp - alc/helpers.cpp - common/alexcpt.cpp - utils/makemhr/loaddef.cpp - utils/openal-info.c This patch is adding its definition in the files missing it: - common/alexcpt.cpp - utils/makemhr/loaddef.cpp - utils/openal-info.c Bug: https://travis-ci.com/github/ArthurSonzogni/smk/jobs/318304162 --- utils/openal-info.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'utils/openal-info.c') diff --git a/utils/openal-info.c b/utils/openal-info.c index cdce77e0..46e66d45 100644 --- a/utils/openal-info.c +++ b/utils/openal-info.c @@ -22,9 +22,10 @@ * THE SOFTWARE. */ +#include #include -#include #include +#include #include "AL/alc.h" #include "AL/al.h" -- cgit v1.2.3