Skip to content

Commit 11e0fdf

Browse files
hawkinspGoogle-ML-Automation
authored andcommitted
Add Python.h include to fix Windows build.
PiperOrigin-RevId: 706700133
1 parent 73cc7a5 commit 11e0fdf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jaxlib/mlir/_mlir_libs/tpu_ext.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,16 @@ limitations under the License.
3333
#include "llvm/ADT/StringExtras.h"
3434
#include "llvm/ADT/StringRef.h"
3535
#include "mlir-c/AffineMap.h"
36-
#include "mlir-c/Bindings/Python/Interop.h"
3736
#include "mlir-c/BuiltinAttributes.h"
3837
#include "mlir-c/BuiltinTypes.h"
3938
#include "mlir-c/Diagnostics.h"
4039
#include "mlir-c/Dialect/Func.h"
4140
#include "mlir-c/IR.h"
4241
#include "mlir-c/Support.h"
4342
#include "mlir/Bindings/Python/NanobindAdaptors.h" // IWYU pragma: keep
43+
// clang-format off
44+
#include "mlir-c/Bindings/Python/Interop.h"
45+
// clang-format on
4446
#include "nanobind/nanobind.h"
4547
#include "nanobind/stl/optional.h" // IWYU pragma: keep
4648
#include "nanobind/stl/pair.h" // IWYU pragma: keep

0 commit comments

Comments
 (0)