sys/param.h was used to check the OpenBSD version. It's not needed with the last changes.