Merge pull request #863 from joshtriplett/export-git_attr_value Export git_attr_value
diff --git a/include/git2/attr.h b/include/git2/attr.h
index d675f75..2de9f4b 100644
--- a/include/git2/attr.h
+++ b/include/git2/attr.h
@@ -96,7 +96,7 @@ typedef enum {
* @param attr The attribute
* @return the value type for the attribute
*/
-git_attr_t git_attr_value(const char *attr);
+GIT_EXTERN(git_attr_t) git_attr_value(const char *attr);
/**
* Check attribute flags: Reading values from index and working directory.