From a2065b410122947310f690bb66cfe806623df16f Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Wed, 10 Apr 2013 12:56:14 +0200 Subject: [PATCH] make config.h the first header to be included in any compile unit this is required for consistency amongst the compile units which are linked into the same library and seems to be forgotten quite frequently. --- examples/wells_example.cpp | 1 + opm/simulators/timestepping/SimulatorTimer.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/wells_example.cpp b/examples/wells_example.cpp index fb202868a..f074fc69c 100644 --- a/examples/wells_example.cpp +++ b/examples/wells_example.cpp @@ -1,3 +1,4 @@ +#include "config.h" #include #include #include diff --git a/opm/simulators/timestepping/SimulatorTimer.cpp b/opm/simulators/timestepping/SimulatorTimer.cpp index 8a5471d38..4aa52ecf7 100644 --- a/opm/simulators/timestepping/SimulatorTimer.cpp +++ b/opm/simulators/timestepping/SimulatorTimer.cpp @@ -17,6 +17,7 @@ along with OPM. If not, see . */ +#include "config.h" #include #include #include