summaryrefslogtreecommitdiff
path: root/src/termios
diff options
context:
space:
mode:
Diffstat (limited to 'src/termios')
-rw-r--r--src/termios/cfsetispeed.c1
-rw-r--r--src/termios/cfsetospeed.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/termios/cfsetispeed.c b/src/termios/cfsetispeed.c
index 40267942..f2452171 100644
--- a/src/termios/cfsetispeed.c
+++ b/src/termios/cfsetispeed.c
@@ -1,4 +1,5 @@
#include <termios.h>
+#include "errno.h"
#include "nonstd/assert.h"
int cfsetispeed(struct termios *termios_p, speed_t speed)
diff --git a/src/termios/cfsetospeed.c b/src/termios/cfsetospeed.c
index 93e53c61..af99a0bb 100644
--- a/src/termios/cfsetospeed.c
+++ b/src/termios/cfsetospeed.c
@@ -1,4 +1,5 @@
#include <termios.h>
+#include "errno.h"
#include "nonstd/assert.h"
int cfsetospeed(struct termios *termios_p, speed_t speed)