libgit2/libgit2 — pull request #1974 by ghedo (2013-11-27 13:33:52+00:00)
Title: posix: Solaris doesn't have strnlen either

Not sure if this is the correct way to do this though.