Sort all includes in src/gromacs
[alexxy/gromacs.git] / src / gromacs / fft / fft_fftw3.cpp
index a93ec1d5a699906fda0bdb21a501fd82ba2e0456..dee2ff284b473c41aa250438cbde4f824cf9dd53 100644 (file)
@@ -33,6 +33,8 @@
  * To help us fund GROMACS development, we humbly ask that you cite
  * the research papers on the package. Check out http://www.gromacs.org.
  */
+#include "gmxpre.h"
+
 #include "config.h"
 
 #include <errno.h>
 
 #include <fftw3.h>
 
+#include "thread_mpi/mutex.h"
+
 #include "gromacs/fft/fft.h"
+#include "gromacs/utility/exceptions.h"
 #include "gromacs/utility/fatalerror.h"
 
 #ifdef GMX_DOUBLE
@@ -49,9 +54,6 @@
 #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;