diff BUGFIX add missing include of compat.h
diff --git a/src/diff.c b/src/diff.c
index fcb7079..6747cce 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -20,6 +20,7 @@
 #include <string.h>
 
 #include "common.h"
+#include "compat.h"
 #include "log.h"
 #include "tree_data_internal.h"
 #include "tree_schema.h"