X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Ftermios.h;h=d73c780d41a4270f1665658b6c4f7d62b792780a;hp=76908839ca6e604cc71ca1eb534c6bf3429acc85;hb=5271ff46b9e983bec5fd9ab79d5aaf096fa54157;hpb=769d3d349824fb45218972a1cf0e912cfee62d51 diff --git a/include/termios.h b/include/termios.h index 76908839..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 _GNU_SOURCE +#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) void cfmakeraw(struct termios *); int cfsetspeed(struct termios *, speed_t); #endif