add <cerrno> to OTLog.hpp