aboutsummaryrefslogtreecommitdiffstats
path: root/utils/openal-info.c
diff options
context:
space:
mode:
authorArthurSonzogni <[email protected]>2020-04-10 23:23:13 +0200
committerArthurSonzogni <[email protected]>2020-04-10 23:36:19 +0200
commit7548c235bdac9972690ac6e4e0511b9fdce6cdfd (patch)
tree53ca72fbe967f9197d2609d45947af7e7492a146 /utils/openal-info.c
parente123fa0ec349337ba4db00ebb2bbec1b7bee4cfa (diff)
Add missing <cstdarg>
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: - <stdarg.h> - <cstdarg> 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
Diffstat (limited to 'utils/openal-info.c')
-rw-r--r--utils/openal-info.c3
1 files changed, 2 insertions, 1 deletions
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 <stdarg.h>
#include <stdio.h>
-#include <string.h>
#include <stdlib.h>
+#include <string.h>
#include "AL/alc.h"
#include "AL/al.h"