include "oid.h" in headers that use git_oid This makes generating bindings to hlibgit2 easier
diff --git a/src/git2/index.h b/src/git2/index.h
index f1716fe..605740c 100644
--- a/src/git2/index.h
+++ b/src/git2/index.h
@@ -27,6 +27,7 @@
#include "common.h"
#include "types.h"
+#include "oid.h"
/**
* @file git2/index.h
diff --git a/src/git2/refs.h b/src/git2/refs.h
index c9efac3..36031ec 100644
--- a/src/git2/refs.h
+++ b/src/git2/refs.h
@@ -27,6 +27,7 @@
#include "common.h"
#include "types.h"
+#include "oid.h"
/**
* @file git2/refs.h