libgit2/libgit2 — pull request #2026 by arrbee (2014-01-03 19:39:25+00:00)
Title: Use our strnlen on MacOS for backward compat

Apparently MacOS didn't have `strnlen` on 10.6 and earlier. To avoid having linking problems on older versions, we'll just use our internal version. Fixes #2009