diff options
author | Patrick Steinhardt <ps@pks.im> | 2020-03-26 13:55:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-26 13:55:05 +0100 |
commit | 9a490318c826157cf7c346eea5509e6b1e8220c4 (patch) | |
tree | 6228077efd37bc5c9a5e5f51198921158843829a | |
parent | bba9599a6145c8c28d6333382212e58ef71c9817 (diff) | |
parent | fad840d73bda6afb5dbd54d33799d87175301ce1 (diff) | |
download | libgit2-9a490318c826157cf7c346eea5509e6b1e8220c4.tar.gz |
Merge pull request #5465 from libgit2/ethomson/cred_deprecation
credentials: provide backcompat for opaque structs
-rw-r--r-- | include/git2/deprecated.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/git2/deprecated.h b/include/git2/deprecated.h index 61d0115fd..e5e56edae 100644 --- a/include/git2/deprecated.h +++ b/include/git2/deprecated.h @@ -41,6 +41,13 @@ */ #ifndef GIT_DEPRECATE_HARD +/* + * The credential structures are now opaque by default, and their + * definition has moved into the `sys/credential.h` header; include + * them here for backward compatibility. + */ +#include "sys/credential.h" + /** * @file git2/deprecated.h * @brief libgit2 deprecated functions and values |