sparc64 (and others): fix tty_ioctl.c build