diff --git a/panda/src/mathutil/fftCompressor.cxx b/panda/src/mathutil/fftCompressor.cxx index a5e07f47c1..f04f7eb92c 100644 --- a/panda/src/mathutil/fftCompressor.cxx +++ b/panda/src/mathutil/fftCompressor.cxx @@ -30,7 +30,12 @@ #ifdef howmany #undef howmany #endif -#include "rfftw.h" + +#ifdef IS_OSX + #include "drfftw.h" +#else + #include "rfftw.h" +#endif // These FFTW support objects can only be defined if we actually have // the FFTW library available.