summaryrefslogtreecommitdiff
path: root/include/git2/deprecated.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/deprecated.h')
-rw-r--r--include/git2/deprecated.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/git2/deprecated.h b/include/git2/deprecated.h
index ac1ad1a63..b2f91b9d0 100644
--- a/include/git2/deprecated.h
+++ b/include/git2/deprecated.h
@@ -308,6 +308,8 @@ GIT_EXTERN(int) git_index_add_frombuffer(
#define GIT_OBJ_OFS_DELTA GIT_OBJECT_OFS_DELTA
#define GIT_OBJ_REF_DELTA GIT_OBJECT_REF_DELTA
+typedef git_object_size_t git_off_t;
+
/**
* Get the size in bytes for the structure which
* acts as an in-memory representation of any given