This website works better with JavaScript
Home
Explore
Help
Sign In
hongwenjun
/
musl
mirror of
https://git.musl-libc.org/git/musl
Watch
1
Star
0
Fork
0
Files
Issues
0
Wiki
Browse Source
define appropriate feature test macros to get CBAUD from termios.h
Rich Felker
8 years ago
parent
cd208b0037
commit
126f58b2f4
2 changed files
with
2 additions
and
0 deletions
Split View
Show Diff Stats
1
0
src/termios/cfgetospeed.c
1
0
src/termios/cfsetospeed.c
+ 1
- 0
src/termios/cfgetospeed.c
View File
@@ -1,3 +1,4 @@
+#define _BSD_SOURCE
#include <termios.h>
#include <sys/ioctl.h>
+ 1
- 0
src/termios/cfsetospeed.c
View File
@@ -1,3 +1,4 @@
+#define _BSD_SOURCE
#include <termios.h>
#include <sys/ioctl.h>
#include <errno.h>