Skip to content

Commit 6424413

Browse files
committed
config_file: add missing include for git_config_backend
The config_file.h header provides some inline declarations accessing the `git_config_backend`, but misses its declaration. Add the missing include for "git2/sys/config.h" to add it.
1 parent 0d2f682 commit 6424413

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/config_file.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#ifndef INCLUDE_config_file_h__
88
#define INCLUDE_config_file_h__
99

10+
#include "git2/sys/config.h"
1011
#include "git2/config.h"
1112

1213
GIT_INLINE(int) git_config_file_open(git_config_backend *cfg, unsigned int level)

0 commit comments

Comments
 (0)