patch 8.1.0360: using an external diff program is slow and inflexible
Problem: Using an external diff program is slow and inflexible.
Solution: Include the xdiff library. (Christian Brabandt, closes #2732)
Use it by default.
diff --git a/src/structs.h b/src/structs.h
index 253f774..ee56bd3 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -2433,7 +2433,9 @@
term_T *b_term; /* When not NULL this buffer is for a terminal
* window. */
#endif
-
+#ifdef FEAT_DIFF
+ int b_diff_failed; // internal diff failed for this buffer
+#endif
}; /* file_buffer */