summaryrefslogtreecommitdiff
path: root/libc/termios/ttyname.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/termios/ttyname.c')
-rw-r--r--libc/termios/ttyname.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/termios/ttyname.c b/libc/termios/ttyname.c
index 43005a63a..5a5d2a225 100644
--- a/libc/termios/ttyname.c
+++ b/libc/termios/ttyname.c
@@ -1,3 +1,7 @@
+#define opendir __opendir
+#define closedir __closedir
+#define isatty __isatty
+
#include <string.h>
#include <errno.h>
#include <assert.h>