#include <stdio.h>
#endif
+/* must be included before fftw3.h */
#if HAVE_COMPLEX_H
#include <complex.h>
#endif
-/*
-#include <complex.h>
-#include <fftw3.h>
-#define FFTW_TYPE fftwf_complex
-*/
+
#if HAVE_FFTW3_H
#include <fftw3.h>
-//#define FFTW_TYPE fftwf_complex
#endif
#if HAVE_MATH_H
#ifndef FFT_H_
#define FFT_H_
-/*
-// complex before fftw3
-#include <complex.h>
-*/
+
+/* <complex.h> is not included here but only in aubio_priv.h, so that c++
+ * projects can still use their own complex definition. */
#include <fftw3.h>
#if FFTW3F_SUPPORT