Move include of config.h to cpp-file

One should never include config.h in a header. To the very least it results
in redefined macros.
This commit is contained in:
Markus Blatt 2022-10-12 14:30:26 +02:00
parent 0da2b6e558
commit b9aa7bdc3b
2 changed files with 4 additions and 4 deletions

View File

@ -17,6 +17,10 @@
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif // HAVE_CONFIG_H
#include <opm/core/props/satfunc/RelpermDiagnostics.hpp>
#include <opm/core/props/phaseUsageFromDeck.hpp>

View File

@ -23,10 +23,6 @@
#include <vector>
#include <utility>
#if HAVE_CONFIG_H
#include "config.h"
#endif // HAVE_CONFIG_H
#include <opm/material/fluidmatrixinteractions/EclEpsScalingPoints.hpp>
namespace Opm {