summaryrefslogtreecommitdiff
path: root/src/pcm
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-09-21 11:37:30 +0200
committerMax Kellermann <max@musicpd.org>2020-09-21 11:37:50 +0200
commit7c8427b0f7d34bc7078736ce3fa7142cce5cc0e6 (patch)
tree1e09a2fa0e2a578e523e2d3d1f4686a73e1eb0f9 /src/pcm
parent7552f70c8db7874e855626f1b24729fcc788e6eb (diff)
parentb72801abf3bba84565bb040215071a21182e698c (diff)
Merge branch 'v0.21.x' into master
Diffstat (limited to 'src/pcm')
-rw-r--r--src/pcm/Mix.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pcm/Mix.cxx b/src/pcm/Mix.cxx
index ed2b0f8db..9126f60f6 100644
--- a/src/pcm/Mix.cxx
+++ b/src/pcm/Mix.cxx
@@ -27,6 +27,7 @@
#include "Dither.cxx" // including the .cxx file to get inlined templates
#include <cassert>
+#include <cmath>
template<SampleFormat F, class Traits=SampleTraits<F>>
static typename Traits::value_type