diff --git a/Solver/dgRungeKutta.cpp b/Solver/dgRungeKutta.cpp
index 63e07b2e343ced2ab26b15526f623cbb503b3a7b..9786dfff955a8552b16b450e92e6fda0241379fd 100644
--- a/Solver/dgRungeKutta.cpp
+++ b/Solver/dgRungeKutta.cpp
@@ -9,6 +9,9 @@
 #include "dgGroupOfElements.h"
 #include <limits.h>
 #include <stdio.h>
+#ifdef HAVE_MPI
+#include "mpi.h"
+#endif
 
 double dgRungeKutta::iterateEuler(const dgConservationLaw *claw, double dt, dgDofContainer *solution) {
   double A[] = {0};