diff options
Diffstat (limited to 'compat')
-rw-r--r-- | compat/mmap.c | 2 | ||||
-rw-r--r-- | compat/strcasestr.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/compat/mmap.c b/compat/mmap.c index a051c4767d..55cb120764 100644 --- a/compat/mmap.c +++ b/compat/mmap.c @@ -2,7 +2,7 @@ #include <stdlib.h> #include <unistd.h> #include <errno.h> -#include "../cache.h" +#include "../git-compat-util.h" void *gitfakemmap(void *start, size_t length, int prot , int flags, int fd, off_t offset) { diff --git a/compat/strcasestr.c b/compat/strcasestr.c index b96414d36b..26896deca6 100644 --- a/compat/strcasestr.c +++ b/compat/strcasestr.c @@ -1,5 +1,4 @@ -#include <string.h> -#include <ctype.h> +#include "../git-compat-util.h" char *gitstrcasestr(const char *haystack, const char *needle) { |