From e84d8624bb1790ae46d3c7a7b642effb9090b65d Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 31 May 2015 23:12:30 -0700 Subject: Add strndup.h header so we can use this useful function It's missing on Windows... we had this helper in liquivision.c but since I used the function in git-access.c I figured I should just turn it into a little helper. Signed-off-by: Dirk Hohndel --- git-access.c | 1 + 1 file changed, 1 insertion(+) (limited to 'git-access.c') diff --git a/git-access.c b/git-access.c index 521d552e9..ca0f3a161 100644 --- a/git-access.c +++ b/git-access.c @@ -12,6 +12,7 @@ #include "dive.h" #include "membuffer.h" +#include "strndup.h" /* * The libgit2 people are incompetent at making libraries. They randomly change -- cgit v1.2.3-70-g09d2