diff --git a/src/ReplayGainGlobal.cxx b/src/ReplayGainGlobal.cxx index b5a8d1ae0..9bd8b3cc0 100644 --- a/src/ReplayGainGlobal.cxx +++ b/src/ReplayGainGlobal.cxx @@ -20,9 +20,9 @@ #include "ReplayGainGlobal.hxx" #include "ReplayGainConfig.hxx" #include "config/Data.hxx" -#include "util/Math.hxx" #include +#include #include #include diff --git a/src/ReplayGainInfo.cxx b/src/ReplayGainInfo.cxx index de6ec0ab3..b989d552c 100644 --- a/src/ReplayGainInfo.cxx +++ b/src/ReplayGainInfo.cxx @@ -19,7 +19,8 @@ #include "ReplayGainInfo.hxx" #include "ReplayGainConfig.hxx" -#include "util/Math.hxx" + +#include float ReplayGainTuple::CalculateScale(const ReplayGainConfig &config) const noexcept diff --git a/src/util/Math.hxx b/src/util/Math.hxx index 2206b045f..e590f85c8 100644 --- a/src/util/Math.hxx +++ b/src/util/Math.hxx @@ -31,15 +31,12 @@ #define MATH_HXX #ifdef __UCLIBC__ -#include #include using boost::math::iround; -using boost::math::pow; using boost::math::lround; #define lrint iround #else #include -using std::pow; using std::lrint; using std::lround; #endif