diff options
author | Patrick Steinhardt <ps@pks.im> | 2017-06-13 10:29:23 +0200 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2017-06-13 11:34:49 +0200 |
commit | bee423cc265a691179c745b1db68a85b2e3ec644 (patch) | |
tree | 98e18919018660e5ce766eab695ade331b04251b | |
parent | a64532e107b40202d2cdd602c8c821f402bad429 (diff) | |
download | libgit2-bee423cc265a691179c745b1db68a85b2e3ec644.tar.gz |
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.
-rw-r--r-- | tests/network/remote/local.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/network/remote/local.c b/tests/network/remote/local.c index 7bae03847..76872e51f 100644 --- a/tests/network/remote/local.c +++ b/tests/network/remote/local.c @@ -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; |