aboutsummaryrefslogtreecommitdiff
path: root/Source/Initialization
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Initialization')
-rw-r--r--Source/Initialization/WarpXAMReXInit.H4
-rw-r--r--Source/Initialization/WarpXAMReXInit.cpp2
2 files changed, 5 insertions, 1 deletions
diff --git a/Source/Initialization/WarpXAMReXInit.H b/Source/Initialization/WarpXAMReXInit.H
index 4f08dc31c..a34072f22 100644
--- a/Source/Initialization/WarpXAMReXInit.H
+++ b/Source/Initialization/WarpXAMReXInit.H
@@ -7,7 +7,9 @@
#ifndef WARPX_AMREX_INIT_H_
#define WARPX_AMREX_INIT_H_
-#include <AMReX.H>
+#include <AMReX_ccse-mpi.H>
+
+#include <AMReX_BaseFwd.H>
/** Call amrex::Initialize
*
diff --git a/Source/Initialization/WarpXAMReXInit.cpp b/Source/Initialization/WarpXAMReXInit.cpp
index 9ff4ff7f5..73871571e 100644
--- a/Source/Initialization/WarpXAMReXInit.cpp
+++ b/Source/Initialization/WarpXAMReXInit.cpp
@@ -10,6 +10,8 @@
#include <AMReX.H>
#include <AMReX_ParmParse.H>
+#include <memory>
+
namespace {
/** Overwrite defaults in AMReX Inputs
*