define appropriate feature test macros to get CBAUD from termios.h

This commit is contained in:
Rich Felker 2016-07-03 15:01:04 -04:00
parent cd208b0037
commit 126f58b2f4
2 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#define _BSD_SOURCE
#include <termios.h> #include <termios.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>

View File

@ -1,3 +1,4 @@
#define _BSD_SOURCE
#include <termios.h> #include <termios.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <errno.h> #include <errno.h>