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 <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-05-31 23:12:30 -07:00
parent 5bbcc7f16d
commit e84d8624bb
4 changed files with 25 additions and 19 deletions

View file

@ -12,6 +12,7 @@
#include "dive.h"
#include "membuffer.h"
#include "strndup.h"
/*
* The libgit2 people are incompetent at making libraries. They randomly change