libcli/util/errormap.c requires the constant ENOTSUP to be declared, which is absent on OpenBSD. Under Linux this constant is defined as an alias for EOPNOTSUPP, which is present under OpenBSD. Suggest replacing ENOTSUP with EOPNOTSUPP.
fixed in rev 12910