diff options
Diffstat (limited to 'src/termios')
-rw-r--r-- | src/termios/cfgetospeed.c | 1 | ||||
-rw-r--r-- | src/termios/cfsetospeed.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/termios/cfgetospeed.c b/src/termios/cfgetospeed.c index 0ebc198c..55fa6f55 100644 --- a/src/termios/cfgetospeed.c +++ b/src/termios/cfgetospeed.c @@ -1,3 +1,4 @@ +#define _BSD_SOURCE #include <termios.h> #include <sys/ioctl.h> diff --git a/src/termios/cfsetospeed.c b/src/termios/cfsetospeed.c index 80c790f1..b571f62e 100644 --- a/src/termios/cfsetospeed.c +++ b/src/termios/cfsetospeed.c @@ -1,3 +1,4 @@ +#define _BSD_SOURCE #include <termios.h> #include <sys/ioctl.h> #include <errno.h> |