Update to check.h to add errno reset macro for localizing issues.