changeset 21688:68ab693d16e4

* oct-fftw.cc: Allow compilation without FFTW.
author John W. Eaton <jwe@octave.org>
date Thu, 12 May 2016 14:45:20 -0400
parents 4418e579cca6
children 9467549bd5ff
files liboctave/numeric/oct-fftw.cc
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/numeric/oct-fftw.cc	Wed May 11 13:12:22 2016 -0700
+++ b/liboctave/numeric/oct-fftw.cc	Thu May 12 14:45:20 2016 -0400
@@ -24,9 +24,9 @@
 #  include "config.h"
 #endif
 
-#if defined (HAVE_FFTW)
 
 #include <iostream>
+#include <string>
 #include <vector>
 
 #if defined (HAVE_FFTW3_H)
@@ -43,6 +43,8 @@
 #  include "nproc.h"
 #endif
 
+#if defined (HAVE_FFTW)
+
 octave_fftw_planner *octave_fftw_planner::instance = 0;
 
 // Helper class to create and cache FFTW plans for both 1D and