From f58f1499c10d66c8d5785bd089db14c860c5beb8 Mon Sep 17 00:00:00 2001 From: Lazar Trsic Date: Thu, 31 Aug 2017 18:10:48 +0200 Subject: [PATCH] Fix TIOCSCTTY ioctl definition for mips Change-Id: I721a48a441c4a416c1119b17086462f7cb8e5097 --- public/ioctl_defines | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))