Subject: [PATCH 11/17] xdiff: include compat/rust_types.h

From: "Ezekiel Newren via GitGitGadget" <[email-masked]>
Date: Sun, 07 Sep 2025 19:45:14 +0000

From: Ezekiel Newren <[email-masked]>

Signed-off-by: Ezekiel Newren <[email-masked]>
---
 xdiff/xinclude.h | 1 +
 xdiff/xmacros.h  | 2 +-
 xdiff/xtypes.h   | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/xdiff/xinclude.h b/xdiff/xinclude.h
index a4285ac0eb..6733d752a4 100644
--- a/xdiff/xinclude.h
+++ b/xdiff/xinclude.h
@@ -24,6 +24,7 @@
 #define XINCLUDE_H
 
 #include "git-compat-util.h"
+#include <compat/rust_types.h>
 #include "xmacros.h"
 #include "xdiff.h"
 #include "xtypes.h"
diff --git a/xdiff/xmacros.h b/xdiff/xmacros.h
index 8487bb396f..ef663af3b8 100644
--- a/xdiff/xmacros.h
+++ b/xdiff/xmacros.h
@@ -23,7 +23,7 @@
 #if !defined(XMACROS_H)
 #define XMACROS_H
 
-
+#include <compat/rust_types.h>

 #define XDL_MIN(a, b) ((a) < (b) ? (a): (b))
diff --git a/xdiff/xtypes.h b/xdiff/xtypes.h
index 3d26cbf1ec..80afb98bf4 100644
--- a/xdiff/xtypes.h
+++ b/xdiff/xtypes.h
@@ -23,7 +23,7 @@
 #if !defined(XTYPES_H)
 #define XTYPES_H
 
-
+#include <compat/rust_types.h>
 
 typedef struct s_chanode {
 	struct s_chanode *next;
-- 
gitgitgadget