mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-04 23:25:30 +00:00
Fix builds for newer libgit2 (1.8.0 and newer)
This commit is contained in:
parent
faf6243d1a
commit
b65ceb60b2
common/git
@ -26,6 +26,7 @@
|
||||
#include "git_repo_mixin.h"
|
||||
|
||||
#include <git/git_progress.h>
|
||||
#include <kicad_git_compat.h>
|
||||
#include <kiplatform/secrets.h>
|
||||
#include <trace_helpers.h>
|
||||
|
||||
|
@ -31,4 +31,8 @@
|
||||
#define GIT_BUF_INIT { NULL, 0, 0 }
|
||||
#endif
|
||||
|
||||
#if LIBGIT2_VER_MAJOR > 1 || ( LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR >= 8 )
|
||||
#include <git2/sys/errors.h>
|
||||
#endif
|
||||
|
||||
#endif // KICAD_GIT_COMPAT_H_
|
Loading…
Reference in New Issue
Block a user