Commit b70e4f8a0391a8ec9bcc2ba06a30cc4889e93191

Vicent Marti 2011-02-01T03:21:53

Add required includes in "oid.h" The file was previously failing to be included stand-alone.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/git2/oid.h b/src/git2/oid.h
index 7c95342..5cac46f 100644
--- a/src/git2/oid.h
+++ b/src/git2/oid.h
@@ -25,6 +25,9 @@
 #ifndef INCLUDE_git_oid_h__
 #define INCLUDE_git_oid_h__
 
+#include "common.h"
+#include "types.h"
+
 /**
  * @file git2/oid.h
  * @brief Git object id routines