diff --git a/source/adios2/engine/sst/SstReader.h b/source/adios2/engine/sst/SstReader.h
index 582976d51a054a9d3b4f26bd16c8dc590045420a..d0603e089e20ac384450f0c95727a7d5cc6ad9a3 100644
--- a/source/adios2/engine/sst/SstReader.h
+++ b/source/adios2/engine/sst/SstReader.h
@@ -13,9 +13,10 @@
 
 #include <iostream> //std::cout << Needs to go
 
-#include "adios2/toolkit/sst/sst.h"
 #include <mpi.h>
 
+#include "adios2/toolkit/sst/sst.h"
+
 #include "adios2/core/Engine.h"
 #include "adios2/core/IO.h"
 
diff --git a/source/adios2/engine/sst/SstWriter.h b/source/adios2/engine/sst/SstWriter.h
index 364eb3753646977c1ef933ecd85077f98b3b28df..9f28ef0e4a48e2eb61d443fdae3cd69f8958dac9 100644
--- a/source/adios2/engine/sst/SstWriter.h
+++ b/source/adios2/engine/sst/SstWriter.h
@@ -14,6 +14,8 @@
 #include <iostream> //std::cout must be removed, only used for hello example
 #include <unistd.h> //sleep must be removed
 
+#include <mpi.h>
+
 #include "adios2/toolkit/sst/sst.h"
 
 #include "adios2/ADIOSConfig.h"