fftw3 support
[physik/nlsop.git] / dft.h
diff --git a/dft.h b/dft.h
index fe0e66c..5b78dc8 100644 (file)
--- a/dft.h
+++ b/dft.h
 #include <string.h>
 #include <string.h>
 
-#include "fourier.h"
+#ifdef USE_FFTW3
+  #include <fftw3.h>
+  #include <math.h>
+#else
+  #include "fourier.h"
+#endif
+
 #include "bmp.h"