summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/syscalls.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index 92d6265be..b0cf4232f 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -268,8 +268,24 @@ _syscall2(int, utime, const char *, filename, const struct utimbuf *, buf);
#endif
//#define __NR_stty 31
+#ifdef L_stty
+#include <sgtty.h>
+int stty (int __fd, __const struct sgttyb *__params);
+{
+ __set_errno(ENOSYS);
+ return -1;
+}
+#endif
//#define __NR_gtty 32
+#ifdef L_gtty
+#include <sgtty.h>
+int gtty (int __fd, struct sgttyb *__params)
+{
+ __set_errno(ENOSYS);
+ return -1;
+}
+#endif
//#define __NR_access 33
#ifdef L_access