From e573f250f701e6d76483466b7aaa2058fdeb9fc6 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Mon, 1 Oct 2018 17:29:28 -0500 Subject: [PATCH] Always include the dagmc.h file to the extern is seen in the implementation. --- src/dagmc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dagmc.cpp b/src/dagmc.cpp index f935168531..d1d4963dac 100644 --- a/src/dagmc.cpp +++ b/src/dagmc.cpp @@ -1,6 +1,4 @@ -#ifdef DAGMC - #include "openmc/dagmc.h" #include "openmc/error.h" #include "openmc/string_functions.h" @@ -11,6 +9,8 @@ #include #include +#ifdef DAGMC + namespace openmc { moab::DagMC* DAG;