Apply patch #960: add preprocessor #if for OpenBSD

It seems the include file <netinet/in_systm.h> has to be included not only by FreeBSD but also OpenBSD, as reported and patch supplied in #960.