diff --git a/tutorials/tutorial1.cpp b/tutorials/tutorial1.cpp index 917778e9..428e365c 100644 --- a/tutorials/tutorial1.cpp +++ b/tutorials/tutorial1.cpp @@ -31,7 +31,9 @@ /// \snippet tutorial1.cpp including headers /// \internal [including headers] +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #include #include diff --git a/tutorials/tutorial2.cpp b/tutorials/tutorial2.cpp index ad606da0..bb63a1ce 100644 --- a/tutorials/tutorial2.cpp +++ b/tutorials/tutorial2.cpp @@ -28,7 +28,9 @@ /// We solve the flow equations for a Cartesian grid and we set the source term /// \f$q\f$ be zero except at the left-lower and right-upper corner, where it is equal /// with opposite sign (inflow equal to outflow). +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #include #include diff --git a/tutorials/tutorial3.cpp b/tutorials/tutorial3.cpp index d3e5e5f6..b63e98d4 100644 --- a/tutorials/tutorial3.cpp +++ b/tutorials/tutorial3.cpp @@ -18,7 +18,9 @@ along with OPM. If not, see . */ /// \endcond +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #include #include diff --git a/tutorials/tutorial4.cpp b/tutorials/tutorial4.cpp index 40ea6016..dd8d6b3a 100644 --- a/tutorials/tutorial4.cpp +++ b/tutorials/tutorial4.cpp @@ -18,7 +18,9 @@ along with OPM. If not, see . */ /// \endcond +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #include #include