]> granicus.if.org Git - musl/commitdiff
define appropriate feature test macros to get CBAUD from termios.h
authorRich Felker <dalias@aerifal.cx>
Sun, 3 Jul 2016 19:01:04 +0000 (15:01 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 3 Jul 2016 19:02:23 +0000 (15:02 -0400)
src/termios/cfgetospeed.c
src/termios/cfsetospeed.c

index 0ebc198c1c500ab532f1bda94891e4859949b706..55fa6f55c0ecb4c9ecdb84dfbf61da12b5813579 100644 (file)
@@ -1,3 +1,4 @@
+#define _BSD_SOURCE
 #include <termios.h>
 #include <sys/ioctl.h>
 
index 80c790f1fda1b2046a8746d6b4e2b436ab95ac0c..b571f62e39cc132796174c89b8cfe4eae5f30ebf 100644 (file)
@@ -1,3 +1,4 @@
+#define _BSD_SOURCE
 #include <termios.h>
 #include <sys/ioctl.h>
 #include <errno.h>