Include "common.h" in "errors.h"
diff --git a/include/git2/errors.h b/include/git2/errors.h
index dbe565a..60af7b3 100644
--- a/include/git2/errors.h
+++ b/include/git2/errors.h
@@ -25,6 +25,8 @@
#ifndef INCLUDE_git_errors_h__
#define INCLUDE_git_errors_h__
+#include "common.h"
+
/**
* @file git2/errors.h
* @brief Git error handling routines and variables