fix for netbsd ioctl numbers