ref: 756dc2ce7bb6b1a7bf3a9949a1986a91285e76bf
parent: f4e2bc3ff0229f9563261f8294205aac3ba66a8d
author: Erik de Castro Lopo <[email protected]>
date: Fri Sep 28 14:09:18 EDT 2012
tests/varispeed_test.c : Fix compile error.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
+
+ * tests/varispeed_test.c
+ FIx compile error.
+
2012-08-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/common.h src/samplerate.c
--- a/tests/varispeed_test.c
+++ b/tests/varispeed_test.c
@@ -16,6 +16,8 @@
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
+#include "config.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
@@ -24,6 +26,12 @@
#include <samplerate.h>
#include "util.h"
+
+#if HAVE_FFTW3
+#include <fftw3.h>
+#else
+#define fftw_cleanup()
+#endif
#define BUFFER_LEN (1 << 16)