From cc6da6f4aa92f5b14e9fb3e5f8bac619e93c25e9 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Wed, 25 Apr 2018 16:02:14 +0200
Subject: [PATCH] Fix two more header inclusion mistakes.

---
 src/hydro.h            | 2 ++
 src/hydro_properties.c | 1 +
 2 files changed, 3 insertions(+)

diff --git a/src/hydro.h b/src/hydro.h
index abb49d35b2..78ae7d178f 100644
--- a/src/hydro.h
+++ b/src/hydro.h
@@ -23,8 +23,10 @@
 #include "../config.h"
 
 /* Local headers. */
+#include "const.h"
 #include "hydro_properties.h"
 #include "kernel_hydro.h"
+#include "part.h"
 
 /* Import the right functions */
 #if defined(MINIMAL_SPH)
diff --git a/src/hydro_properties.c b/src/hydro_properties.c
index bd8328946d..5e3c9f3f46 100644
--- a/src/hydro_properties.c
+++ b/src/hydro_properties.c
@@ -26,6 +26,7 @@
 
 /* Local headers. */
 #include "adiabatic_index.h"
+#include "equation_of_state.h"
 #include "common_io.h"
 #include "dimension.h"
 #include "error.h"
-- 
GitLab