From 2c9afd8358c4dde959111e39da6430f3da0d6e2c Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Fri, 24 Apr 2020 13:20:51 +0200
Subject: [PATCH] Fix header and pre-declarations in QLA cooling

---
 src/cooling/QLA/cooling.h    | 3 +++
 src/cooling/QLA/cooling_io.h | 1 +
 2 files changed, 4 insertions(+)

diff --git a/src/cooling/QLA/cooling.h b/src/cooling/QLA/cooling.h
index 89680e3473..5a0ef4d55a 100644
--- a/src/cooling/QLA/cooling.h
+++ b/src/cooling/QLA/cooling.h
@@ -33,6 +33,9 @@ struct cosmology;
 struct hydro_props;
 struct entropy_floor_properties;
 struct space;
+struct unit_system;
+struct phys_const;
+struct swift_params;
 
 void cooling_update(const struct cosmology *cosmo,
                     struct cooling_function_data *cooling, struct space *s);
diff --git a/src/cooling/QLA/cooling_io.h b/src/cooling/QLA/cooling_io.h
index 5407b53787..779ef844f2 100644
--- a/src/cooling/QLA/cooling_io.h
+++ b/src/cooling/QLA/cooling_io.h
@@ -24,6 +24,7 @@
 
 /* Local includes */
 #include "cooling.h"
+#include "engine.h"
 #include "io_properties.h"
 
 #ifdef HAVE_HDF5
-- 
GitLab