Use the necessary original FFTW (www.fftw.org) header files without any modifications. Use the created wrapper library and the Intel MKL library instead of the FFTW library.
Copyright © 1994 - 2011, Intel Corporation. All rights reserved.