From ed7b3bd5d2e2cfe8fbd1d34ed233d6cd507a2262 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <schaller@strw.leidenuniv.nl> Date: Mon, 1 Jun 2020 17:19:04 +0200 Subject: [PATCH] Compilation fixes --- src/output_options.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/output_options.c b/src/output_options.c index 7a0534405a..b16625311a 100644 --- a/src/output_options.c +++ b/src/output_options.c @@ -1,4 +1,3 @@ - /******************************************************************************* * This file is part of SWIFT. * Copyright (c) 2020 Josh Borrow (josh.borrow@durham.ac.uk) @@ -17,14 +16,20 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * ******************************************************************************/ +#include "../config.h" +/* Some standard headers. */ #include <stdlib.h> +/* MPI headers. */ #ifdef WITH_MPI #include <mpi.h> #endif +/* This object's header. */ #include "output_options.h" + +/* Local headers. */ #include "parser.h" #include "part_type.h" #include "swift.h" @@ -143,4 +148,4 @@ int output_options_should_write_field(struct output_options* output_options, #endif return should_write; -} \ No newline at end of file +} -- GitLab