mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-27 21:50:07 +00:00
tests: network: add missing include for git_repository_new
A newly added test uses the `git_repository_new` function without the corresponding header file being included. While this works due to the compiler deducing the correct function signature, we should obviously just include the function's declaration file.
This commit is contained in:
parent
a64532e107
commit
bee423cc26
@ -2,6 +2,7 @@
|
||||
#include "buffer.h"
|
||||
#include "path.h"
|
||||
#include "posix.h"
|
||||
#include "git2/sys/repository.h"
|
||||
|
||||
static git_repository *repo;
|
||||
static git_buf file_path_buf = GIT_BUF_INIT;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user