summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--components/libc/termios/posix_termios.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/libc/termios/posix_termios.c b/components/libc/termios/posix_termios.c
index 1816bbae57..9f33c857e6 100644
--- a/components/libc/termios/posix_termios.c
+++ b/components/libc/termios/posix_termios.c
@@ -10,6 +10,7 @@
#include <stdlib.h>
#include <string.h>
#include <dfs_posix.h>
+#include <sys/errno.h>
#include <termios.h>
int tcgetattr(int fd, struct termios *tio)