aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/powerpc/tcsetattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/tcsetattr.c')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/tcsetattr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/tcsetattr.c b/sysdeps/unix/sysv/linux/powerpc/tcsetattr.c
new file mode 100644
index 0000000000..cfb8149ba1
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/tcsetattr.c
@@ -0,0 +1,4 @@
+/* We must use __syscall_ioctl since __ioctl does some extra work. */
+extern int __syscall_ioctl (int __fd, unsigned long int __request, ...);
+#define __ioctl __syscall_ioctl
+#include <sysdeps/unix/sysv/linux/tcsetattr.c>