diff --git a/include/amuse/BooBackend.hpp b/include/amuse/BooBackend.hpp index 5eac4e9..21ddddc 100644 --- a/include/amuse/BooBackend.hpp +++ b/include/amuse/BooBackend.hpp @@ -9,6 +9,7 @@ #include "IBackendVoiceAllocator.hpp" #include #include +#include namespace amuse { diff --git a/lib/DSPCodec.cpp b/lib/DSPCodec.cpp index 0277fa3..4060486 100644 --- a/lib/DSPCodec.cpp +++ b/lib/DSPCodec.cpp @@ -1,5 +1,6 @@ #include "amuse/DSPCodec.hpp" #include +#include #include #if __SWITCH__ @@ -185,7 +186,7 @@ static bool AnalyzeRanges(tvec mtx[3], int* vecIdxsOut) { /* Get greatest distance from zero */ for (int x = 1; x <= 2; x++) { - val = std::max(fabs(mtx[x][1]), fabs(mtx[x][2])); + val = std::max(std::fabs(mtx[x][1]), std::fabs(mtx[x][2])); if (val < DBL_EPSILON) return true;