--- trunk/src/io/RestWriter.cpp 2013/10/29 16:02:58 1937 +++ trunk/src/io/RestWriter.cpp 2013/10/31 15:32:17 1938 @@ -40,6 +40,9 @@ * [5] Vardeman, Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011). */ +#ifdef IS_MPI +#include +#endif #include #include @@ -48,9 +51,6 @@ #include "io/RestWriter.hpp" #include "utils/simError.h" #include "brains/SnapshotManager.hpp" -#ifdef IS_MPI -#include -#endif namespace OpenMD { RestWriter::RestWriter(SimInfo* info, const std::string& filename,