index test: include repository.h for decl
diff --git a/tests/index/racy.c b/tests/index/racy.c
index fda1ed2..3b26aab 100644
--- a/tests/index/racy.c
+++ b/tests/index/racy.c
@@ -3,6 +3,7 @@
#include "buffer.h"
#include "index.h"
+#include "repository.h"
static git_repository *g_repo;