Fix for issue 193 added strndup for Mac OS X 10.6
Forgot missing header
Fix build failure
Merge pull request #194 from LocutusOfBorg/missing_strndup

Missing strndup (fix for issue #193)