about summary refs log tree commit diff
path: root/src/termios/cfsetospeed.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/cfsetospeed.c
parentcd208b0037c60da625fdd1f6a1459bc37115aacd (diff)
downloadmusl-126f58b2f44a0ba730831a6a4fef8daf85d9a601.tar.gz
musl-126f58b2f44a0ba730831a6a4fef8daf85d9a601.tar.xz
musl-126f58b2f44a0ba730831a6a4fef8daf85d9a601.zip
define appropriate feature test macros to get CBAUD from termios.h
Diffstat (limited to 'src/termios/cfsetospeed.c')
-rw-r--r--src/termios/cfsetospeed.c1
1 files changed, 1 insertions, 0 deletions
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>