Merge pull request #5310 from lberk/compat-git-attr-t Add compat typdef for git_attr_t
diff --git a/include/git2/deprecated.h b/include/git2/deprecated.h
index ac1ad1a..7eb21dc 100644
--- a/include/git2/deprecated.h
+++ b/include/git2/deprecated.h
@@ -7,6 +7,7 @@
#ifndef INCLUDE_git_deprecated_h__
#define INCLUDE_git_deprecated_h__
+#include "attr.h"
#include "config.h"
#include "common.h"
#include "blame.h"
@@ -66,6 +67,8 @@ GIT_BEGIN_DECL
#define GIT_ATTR_FALSE(attr) GIT_ATTR_IS_FALSE(attr)
#define GIT_ATTR_UNSPECIFIED(attr) GIT_ATTR_IS_UNSPECIFIED(attr)
+typedef git_attr_value_t git_attr_t;
+
/**@}*/
/** @name Deprecated Blob Functions