summaryrefslogtreecommitdiff
path: root/src/termios/cfgetospeed.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2016-07-03 15:01:04 -0400
committerRich Felker <dalias@aerifal.cx>2016-07-03 15:02:23 -0400
commit126f58b2f44a0ba730831a6a4fef8daf85d9a601 (patch)
treee65b9a96784a30074271519c872bacce5d8b2578 /src/termios/cfgetospeed.c
parentcd208b0037c60da625fdd1f6a1459bc37115aacd (diff)
downloadmusl-126f58b2f44a0ba730831a6a4fef8daf85d9a601.tar.gz
define appropriate feature test macros to get CBAUD from termios.h
Diffstat (limited to 'src/termios/cfgetospeed.c')
-rw-r--r--src/termios/cfgetospeed.c1
1 files changed, 1 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>