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:
parent
150a8c6016
commit
22d400832b
|
@ -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);
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue