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.
This commit is contained in:
Andreas Lauser 2013-04-10 12:56:14 +02:00
parent f3ec8e1634
commit a2065b4101
2 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#include "config.h"
#include <iostream> #include <iostream>
#include <opm/core/io/eclipse/EclipseGridParser.hpp> #include <opm/core/io/eclipse/EclipseGridParser.hpp>
#include <opm/core/utility/parameters/ParameterGroup.hpp> #include <opm/core/utility/parameters/ParameterGroup.hpp>

View File

@ -17,6 +17,7 @@
along with OPM. If not, see <http://www.gnu.org/licenses/>. along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "config.h"
#include <opm/core/simulator/SimulatorTimer.hpp> #include <opm/core/simulator/SimulatorTimer.hpp>
#include <opm/core/utility/parameters/ParameterGroup.hpp> #include <opm/core/utility/parameters/ParameterGroup.hpp>
#include <opm/core/utility/Units.hpp> #include <opm/core/utility/Units.hpp>