Fix build for go 1.9

This change makes the #includes between credentials.go and remote.go
consistent to avoid a build error in go 1.9.
This commit is contained in:
lhchavez 2020-02-13 02:52:50 +00:00
parent 150a8c6016
commit 22d400832b
1 changed files with 3 additions and 1 deletions

View File

@ -1,9 +1,11 @@
package git package git
/* /*
#include <git2.h>
#include <string.h> #include <string.h>
#include <git2.h>
#include <git2/sys/cred.h>
extern void _go_git_setup_callbacks(git_remote_callbacks *callbacks); extern void _go_git_setup_callbacks(git_remote_callbacks *callbacks);
*/ */