Commit 6e1efcd6 by Patrick Steinhardt

tree-wide: add missing header includes

We're missing some header includes leading to missing function
prototypes. While we currently don't warn about these, we should have
their respective headers included in order to detect the case where a
function signature change results in an incompatibility.
parent a6c9e0b3
...@@ -5,8 +5,9 @@ ...@@ -5,8 +5,9 @@
* a Linking Exception. For full terms see the included COPYING file. * a Linking Exception. For full terms see the included COPYING file.
*/ */
#include "config.h" #include "config_backend.h"
#include "config.h"
#include "config_entries.h" #include "config_entries.h"
typedef struct { typedef struct {
......
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
#include "signature.h" #include "signature.h"
#include "refdb.h" #include "refdb.h"
#include <git2/sys/refdb_backend.h> #include "git2/sys/refdb_backend.h"
#include "git2/sys/reflog.h"
void git_reflog_entry__free(git_reflog_entry *entry) void git_reflog_entry__free(git_reflog_entry *entry)
{ {
......
...@@ -5,9 +5,10 @@ ...@@ -5,9 +5,10 @@
* a Linking Exception. For full terms see the included COPYING file. * a Linking Exception. For full terms see the included COPYING file.
*/ */
#include "git2/errors.h"
#include "common.h" #include "common.h"
#include "streams/registry.h"
#include "global.h" #include "global.h"
#include "streams/tls.h" #include "streams/tls.h"
#include "streams/mbedtls.h" #include "streams/mbedtls.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment