From 737dd6d1ac41ee369db9cf3b82a6195a579610eb Mon Sep 17 00:00:00 2001 From: Zamderax Date: Mon, 4 Aug 2025 14:00:46 -0700 Subject: [PATCH] Add missing header to jit_compiler.cpp (#2460) Fixes compilation error on Linux where std::find_if is used on line 121 but the header was not included. While this might work on some platforms due to transitive includes, it's not guaranteed by the C++ standard. Resolves issue #2459 --- mlx/backend/cpu/jit_compiler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mlx/backend/cpu/jit_compiler.cpp b/mlx/backend/cpu/jit_compiler.cpp index 632e71fca6..01bab52f3a 100644 --- a/mlx/backend/cpu/jit_compiler.cpp +++ b/mlx/backend/cpu/jit_compiler.cpp @@ -2,6 +2,7 @@ #include "mlx/backend/cpu/jit_compiler.h" +#include #include #include