*/
#include "gmxpre.h"
-#include "config.h"
-
#include <errno.h>
#include <stdlib.h>
#include <fftw3.h>
+#include "thread_mpi/mutex.h"
+
#include "gromacs/fft/fft.h"
+#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/fatalerror.h"
+#include "config.h"
+
#ifdef GMX_DOUBLE
#define FFTWPREFIX(name) fftw_ ## name
#else
#define FFTWPREFIX(name) fftwf_ ## name
#endif
-#include "thread_mpi/mutex.h"
-#include "gromacs/utility/exceptions.h"
-
/* none of the fftw3 calls, except execute(), are thread-safe, so
we need to serialize them with this mutex. */
static tMPI::mutex big_fftw_mutex;