X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Ftermios.h;h=d73c780d41a4270f1665658b6c4f7d62b792780a;hp=3ae853d87ecfb776c2beb64d59531be71bf9e192;hb=1ab59de81e94e7802f85d314a709f8350a0e9b65;hpb=ba6a9e7734aaff8f4e7d49b888f9dd1954bc92b1 diff --git a/include/termios.h b/include/termios.h index 3ae853d8..d73c780d 100644 --- a/include/termios.h +++ b/include/termios.h @@ -5,6 +5,8 @@ extern "C" { #endif +#include + #define __NEED_pid_t #include @@ -32,7 +34,7 @@ int tcflow (int, int); pid_t tcgetsid (int); -#ifdef _GNUS_SOURCE +#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) void cfmakeraw(struct termios *); int cfsetspeed(struct termios *, speed_t); #endif