Add common.h to types.h
diff --git a/include/git2/types.h b/include/git2/types.h
index 9d14c3e..b9db4e5 100644
--- a/include/git2/types.h
+++ b/include/git2/types.h
@@ -25,6 +25,8 @@
#ifndef INCLUDE_git_types_h__
#define INCLUDE_git_types_h__
+#include "common.h"
+
/**
* @file git2/types.h
* @brief libgit2 base & compatibility types