Do not abuse stropts.h to get ioctl

stropts.h isn't really used here, but is (ab)used to get the ioctl function.