diff options
author | Chris Robinson <[email protected]> | 2020-04-10 09:04:40 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-04-10 09:04:40 -0700 |
commit | 8713bb8afbe0fe42e531ec17c5ea0bb20af64126 (patch) | |
tree | 422777c2a74eb72e73816dc4bb8ba34969691df8 /al/filter.cpp | |
parent | ae173ba8637f4ed69acb8357b6511d90cca7f010 (diff) |
Add missing include
Diffstat (limited to 'al/filter.cpp')
-rw-r--r-- | al/filter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/al/filter.cpp b/al/filter.cpp index 88aa3ce9..a5f60c0e 100644 --- a/al/filter.cpp +++ b/al/filter.cpp @@ -23,6 +23,7 @@ #include "filter.h" #include <algorithm> +#include <cstdarg> #include <cstdint> #include <cstdio> #include <iterator> @@ -59,7 +60,7 @@ public: filter_exception::filter_exception(ALenum code, const char *msg, ...) : mErrorCode{code} { - va_list args, args2; + std::va_list args, args2; va_start(args, msg); va_copy(args2, args); int msglen{std::vsnprintf(nullptr, 0, msg, args)}; |