Hi Brannan, I guess adding a configure script, checking for availability of utmpx.h would be the most clean thing to do, however, I'm not overly intimate with cmake, as well as c++ is not my most favourite language. So, if the only thing I can come up with, would be a simple: #ifdef _OpenBSD_ #else ... also OK? |