NetBSD build fix
#elif defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__
#include <sys/types.h>
#include <sys/sysctl.h>
+#if !defined __NetBSD__
#include <sys/user.h>
+#endif
#include <sys/mman.h>
#endif
