diff --git a/src/pipeline/ToneInterfererStep.cpp b/src/pipeline/ToneInterfererStep.cpp index 725b9d684..2b811c4b2 100644 --- a/src/pipeline/ToneInterfererStep.cpp +++ b/src/pipeline/ToneInterfererStep.cpp @@ -23,9 +23,12 @@ #include #include #include -#include "../util.h" #include "ToneInterfererStep.h" +#ifndef M_PI +#define M_PI 3.14159265358979323846 +#endif + ToneInterfererStep::ToneInterfererStep( int sampleRate, std::function toneFrequencyFn, std::function toneAmplitudeFn, std::function tonePhaseFn)