diff --git a/public/ioctl_defines b/public/ioctl_defines index a1cd0b9a0..4097fb935 100644 --- a/public/ioctl_defines +++ b/public/ioctl_defines @@ -405,7 +405,7 @@ define(`TCXONC', `0x0000540a') define(`TCFLSH', `0x0000540b') define(`TIOCEXCL', `0x0000540c') define(`TIOCNXCL', `0x0000540d') -define(`TIOCSCTTY', `0x0000540e') +define(`TIOCSCTTY', ifelse(target_arch, mips, 0x00005480, 0x0000540e)) define(`TIOCGPGRP', `0x0000540f') define(`TIOCSPGRP', `0x00005410') define(`TIOCOUTQ', ifelse(target_arch, mips, 0x00007472, 0x00005411))