Drop support for OpenBSD. OpenBSD no longer has the old compat headers such as sgtty.h so emg will no longer build.
It is not worth reimplementing these features for OpenBSD; not only would it be a lot of work for no gain, the result would most likely be incompatible with RetroBSD.