Commit 8f63d54cb6be013a324338c4177c803701755468

Carlos Martín Nieto 2011-07-05T14:36:22

Include common.h in hashtable.h Without this, hashtable.h doesn't know what uint32_t is and the compiler thinks that it's a function type. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/hashtable.h b/src/hashtable.h
index 3a4e6a7..be21be2 100644
--- a/src/hashtable.h
+++ b/src/hashtable.h
@@ -4,6 +4,7 @@
 #include "git2/common.h"
 #include "git2/oid.h"
 #include "git2/odb.h"
+#include "common.h"
 
 #define GIT_HASHTABLE_HASHES 3