From 126f58b2f44a0ba730831a6a4fef8daf85d9a601 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 3 Jul 2016 15:01:04 -0400 Subject: [PATCH] define appropriate feature test macros to get CBAUD from termios.h --- src/termios/cfgetospeed.c | 1 + src/termios/cfsetospeed.c | 1 + 2 files changed, 2 insertions(+) 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 #include 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 #include #include -- 2.25.1