diff options
author | ArthurSonzogni <[email protected]> | 2020-04-10 23:23:13 +0200 |
---|---|---|
committer | ArthurSonzogni <[email protected]> | 2020-04-10 23:36:19 +0200 |
commit | 7548c235bdac9972690ac6e4e0511b9fdce6cdfd (patch) | |
tree | 53ca72fbe967f9197d2609d45947af7e7492a146 /utils/makemhr | |
parent | e123fa0ec349337ba4db00ebb2bbec1b7bee4cfa (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/makemhr')
-rw-r--r-- | utils/makemhr/loaddef.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/makemhr/loaddef.cpp b/utils/makemhr/loaddef.cpp index c61c6f6b..d325eda1 100644 --- a/utils/makemhr/loaddef.cpp +++ b/utils/makemhr/loaddef.cpp @@ -26,13 +26,14 @@ #include <algorithm> #include <cctype> #include <cmath> -#include <cstring> #include <cstdarg> #include <cstdio> #include <cstdlib> +#include <cstring> #include <iterator> #include <limits> #include <memory> +#include <cstdarg> #include <vector> #include "alfstream.h" |