Building the io_trace_explorer on my laptop generates fails because errno is undeclared.
/Users/keith.smith/src/wiredtiger/tools/io-trace-explorer/io_trace.cpp:130:75: error: use of undeclared identifier 'errno' std::string("Error closing file \"") + file + "\": " + strerror(errno)); ^
It looks like including cerrno will address this.
(This is using clang 14.0.3, which I think was installed with Xcode.)