OpenBSD needs to sys/types.h here. Point outed by cvsync