diff options
| author | Hirotoshi YOSHITAKA <tyounan.moti@gmail.com> | 2014-10-06 23:47:11 +0900 |
|---|---|---|
| committer | Hirotoshi YOSHITAKA <tyounan.moti@gmail.com> | 2014-10-06 23:47:11 +0900 |
| commit | d0e2d3a6084993414aed295e776d4de43b9fa22c (patch) | |
| tree | 652c6c22e7bba87442c1a35490d2bff13c920ff8 /RtAudio.cpp | |
| parent | e2f63bd30514c7a8dc3439a681a87681ef0ad6d3 (diff) | |
Add algorithm header include
Without algorithm header, Visual Studio complaints that std::max is not
declared and defined.
Including algorithm header resolves this issue.
Diffstat (limited to 'RtAudio.cpp')
| -rw-r--r-- | RtAudio.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp index af7d205..778cbf2 100644 --- a/RtAudio.cpp +++ b/RtAudio.cpp @@ -45,6 +45,7 @@ #include <cstdlib>
#include <cstring>
#include <climits>
+#include <algorithm>
// Static variable definitions.
const unsigned int RtApi::MAX_SAMPLE_RATES = 14;
|
