Sort all includes in src/gromacs
[alexxy/gromacs.git] / src / gromacs / fft / fft_fftw3.cpp
index 81af1fe85c2de1df4647b8bb1059f0da1ce052dd..dee2ff284b473c41aa250438cbde4f824cf9dd53 100644 (file)
  * To help us fund GROMACS development, we humbly ask that you cite
  * the research papers on the package. Check out http://www.gromacs.org.
  */
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#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"
 
 #ifdef GMX_DOUBLE
@@ -51,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;