diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-08 22:04:51 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-11 23:37:51 -0500 |
commit | e491c6e7e4c6bceb3e5b5455e5e99effb8991026 (patch) | |
tree | 42966a38a78883050fd5e8c2ebb99cac893a1dd8 /src/util/allocators/failalloc.h | |
parent | 538e4610bee6a91e468a8dbe4530bb7446243491 (diff) | |
download | libgit2-ethomson/util5.tar.gz |
refactor: make util an object libraryethomson/util5
Instead of simply including the utility files directly, make them a
cmake object library for easy reusability between other projects within
libgit2.
Diffstat (limited to 'src/util/allocators/failalloc.h')
-rw-r--r-- | src/util/allocators/failalloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/allocators/failalloc.h b/src/util/allocators/failalloc.h index 6115e51e7..91264a0bb 100644 --- a/src/util/allocators/failalloc.h +++ b/src/util/allocators/failalloc.h @@ -8,7 +8,7 @@ #ifndef INCLUDE_allocators_failalloc_h__ #define INCLUDE_allocators_failalloc_h__ -#include "common.h" +#include "git2_util.h" extern void *git_failalloc_malloc(size_t len, const char *file, int line); extern void *git_failalloc_calloc(size_t nelem, size_t elsize, const char *file, int line); |