@ -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 // KICAD_GIT_COMPAT_H_