aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/powerpc/tcgetattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/tcgetattr.c')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/tcgetattr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/tcgetattr.c b/sysdeps/unix/sysv/linux/powerpc/tcgetattr.c
new file mode 100644
index 0000000000..400539f387
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/tcgetattr.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/tcgetattr.c>