OpenBSD needs to sys/types.h here.