diff --git a/src/black_holes/SPIN_JET/black_holes_part.h b/src/black_holes/SPIN_JET/black_holes_part.h
index 7fda793927eb4be44f67eb29a39e5eb28feea100..f07aa031a565f329b0513e35ee2f5e15c42b4d6a 100644
--- a/src/black_holes/SPIN_JET/black_holes_part.h
+++ b/src/black_holes/SPIN_JET/black_holes_part.h
@@ -29,14 +29,6 @@
 #include "rays_struct.h"
 #include "timeline.h"
 
-/*! The possible accretion modes every black hole can take. */
-typedef enum BH_accretion_modes {
-  BH_thick_disc = 0,       /* At low Eddington ratios */
-  BH_thin_disc,            /* At moderate Eddington ratios */
-  BH_slim_disc,            /* Super-Eddington accretion */
-  BH_accretion_modes_count /* Number of possible accretion modes */
-} BH_accretion_modes;
-
 /**
  * @brief Particle fields for the black hole particles.
  *
diff --git a/src/tracers/EAGLE/tracers.h b/src/tracers/EAGLE/tracers.h
index e7fbf37636a35b5e3080382cc0e4cbbf0a4fa9d6..686be09777729a54c5611710c8868bc1e9f609e3 100644
--- a/src/tracers/EAGLE/tracers.h
+++ b/src/tracers/EAGLE/tracers.h
@@ -326,7 +326,8 @@ static INLINE void tracers_after_black_holes_feedback(
 static INLINE void tracers_after_jet_feedback(
     const struct part *p, struct xpart *xp, const int with_cosmology,
     const float scale_factor, const double time, const double delta_energy,
-    const float vel_kick, BH_accretion_modes accretion_mode, long long id) {
+    const float vel_kick, const enum BH_accretion_modes accretion_mode,
+    const long long id) {
 
   if (with_cosmology)
     xp->tracers_data.last_AGN_jet_feedback_scale_factor = scale_factor;
diff --git a/src/tracers/EAGLE/tracers_struct.h b/src/tracers/EAGLE/tracers_struct.h
index 735025d7cb0c59866420bb3a85b27b3f9285be2a..da7324833abdd19f2bc2d693e63f5c2a6db97d55 100644
--- a/src/tracers/EAGLE/tracers_struct.h
+++ b/src/tracers/EAGLE/tracers_struct.h
@@ -23,6 +23,14 @@
 /* Local includes */
 #include "tracers_triggers.h"
 
+/*! The possible accretion modes every black hole can take. */
+enum BH_accretion_modes {
+  BH_thick_disc = 0,       /* At low Eddington ratios */
+  BH_thin_disc,            /* At moderate Eddington ratios */
+  BH_slim_disc,            /* Super-Eddington accretion */
+  BH_accretion_modes_count /* Number of possible accretion modes */
+};
+
 /**
  * @brief Properties of the tracers stored in the extended particle data.
  */