summaryrefslogtreecommitdiff
path: root/src/libgit2/path.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-11-14 16:43:53 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2022-02-22 22:07:44 -0500
commitc3b7ace9cf3216928a31886b32c264e0cd3cde75 (patch)
treed7575e38bef62714b99f4b2dd8bbb44ec7bb6534 /src/libgit2/path.c
parentef4ab2988320005cbcb3db920e6b41f10b3c60cf (diff)
downloadlibgit2-c3b7ace9cf3216928a31886b32c264e0cd3cde75.tar.gz
refactor: make util an object library
Instead of simply including the utility files directly, make them a cmake object library for easy reusability between other projects within libgit2. Now the top-level `src` is responsible for platform selection, while the next-level `libgit2` and `util` configurations are responsible for identifying what objects they include.
Diffstat (limited to 'src/libgit2/path.c')
-rw-r--r--src/libgit2/path.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libgit2/path.c b/src/libgit2/path.c
index 05a3dc2cf..a19340efe 100644
--- a/src/libgit2/path.c
+++ b/src/libgit2/path.c
@@ -9,6 +9,7 @@
#include "repository.h"
#include "fs_path.h"
+#include "utf8.h"
typedef struct {
git_repository *repo;