소스 검색

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

Rich Felker 8 년 전
부모
커밋
126f58b2f4
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/termios/cfgetospeed.c
  2. 1 0
      src/termios/cfsetospeed.c

+ 1 - 0
src/termios/cfgetospeed.c

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

+ 1 - 0
src/termios/cfsetospeed.c

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