diff --git a/opm/core/props/satfunc/RelpermDiagnostics.cpp b/opm/core/props/satfunc/RelpermDiagnostics.cpp index e04ecc32d..d787b7ad1 100644 --- a/opm/core/props/satfunc/RelpermDiagnostics.cpp +++ b/opm/core/props/satfunc/RelpermDiagnostics.cpp @@ -17,6 +17,10 @@ along with OPM. If not, see . */ +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include #include diff --git a/opm/core/props/satfunc/RelpermDiagnostics.hpp b/opm/core/props/satfunc/RelpermDiagnostics.hpp index ffc683fa8..ea0cd08c5 100644 --- a/opm/core/props/satfunc/RelpermDiagnostics.hpp +++ b/opm/core/props/satfunc/RelpermDiagnostics.hpp @@ -23,10 +23,6 @@ #include #include -#if HAVE_CONFIG_H -#include "config.h" -#endif // HAVE_CONFIG_H - #include namespace Opm {