Commit fc70832a4fe26e3a237876a865e723fb7f4cc79d

Sakari Jokinen 2011-02-23T07:08:50

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