fix missing import
Merge pull request #4086 from ivanov/missing-errno

fix missing errno import