From f003c29effb89a0b541a238b7e6b93bf968f4a8a Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <matthieu.schaller@durham.ac.uk>
Date: Wed, 25 Apr 2018 19:29:01 +0200
Subject: [PATCH] Added missing include for the min/max macros in the Gizmo
 face slope limiter.

---
 src/hydro/Gizmo/hydro_slope_limiters_face.h | 3 +++
 src/riemann/riemann_hllc.h                  | 1 -
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/hydro/Gizmo/hydro_slope_limiters_face.h b/src/hydro/Gizmo/hydro_slope_limiters_face.h
index 11e600d8fe..9defb12338 100644
--- a/src/hydro/Gizmo/hydro_slope_limiters_face.h
+++ b/src/hydro/Gizmo/hydro_slope_limiters_face.h
@@ -32,9 +32,12 @@
 #ifndef SWIFT_GIZMO_SLOPE_LIMITER_FACE_H
 #define SWIFT_GIZMO_SLOPE_LIMITER_FACE_H
 
+/* Some standard headers. */
 #include <float.h>
 
+/* Local headers. */
 #include "sign.h"
+#include "minmax.h"
 
 __attribute__((always_inline)) INLINE static float
 hydro_slope_limit_face_quantity(float phi_i, float phi_j, float phi_mid0,
diff --git a/src/riemann/riemann_hllc.h b/src/riemann/riemann_hllc.h
index 147c8eda53..26fcd627fc 100644
--- a/src/riemann/riemann_hllc.h
+++ b/src/riemann/riemann_hllc.h
@@ -17,7 +17,6 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
  ******************************************************************************/
-
 #ifndef SWIFT_RIEMANN_HLLC_H
 #define SWIFT_RIEMANN_HLLC_H
 
-- 
GitLab