diff --git a/src/ctbin/ctbin.cpp b/src/ctbin/ctbin.cpp index df4becd..5934d62 100755 --- a/src/ctbin/ctbin.cpp +++ b/src/ctbin/ctbin.cpp @@ -32,6 +32,11 @@ #include "ctbin.hpp" #include "GTools.hpp" +/* __ OpenMP section _____________________________________________________ */ +#ifdef _OPENMP +#include +#endif + /* __ Method name definitions ____________________________________________ */ #define G_GET_PARAMETERS "ctbin::get_parameters()" #define G_FILL_CUBE "ctbin::fill_cube(GCTAObservation*)" diff --git a/src/ctmodel/ctmodel.cpp b/src/ctmodel/ctmodel.cpp index c9d1017..a7fb9ef 100755 --- a/src/ctmodel/ctmodel.cpp +++ b/src/ctmodel/ctmodel.cpp @@ -32,6 +32,11 @@ #include "ctmodel.hpp" #include "GTools.hpp" +/* __ OpenMP section _____________________________________________________ */ +#ifdef _OPENMP +#include +#endif + /* __ Method name definitions ____________________________________________ */ #define G_GET_PARAMETERS "ctmodel::get_parameters()" #define G_GET_OBS "ctmodel::get_obs()"