X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=arch%2Fmips%2Fbits%2Ftermios.h;h=9d571f78f69025c0ab625518964e96ff13752a43;hb=ea3b40a321e751e016948087ef23ae7b9e8e0150;hp=55ba132390d8030fd49e1d6a00d2d4c5e714b9b5;hpb=ee9b5900fb098edd3e8d3df375cac8b2cfe8551f;p=musl diff --git a/arch/mips/bits/termios.h b/arch/mips/bits/termios.h index 55ba1323..9d571f78 100644 --- a/arch/mips/bits/termios.h +++ b/arch/mips/bits/termios.h @@ -1,5 +1,4 @@ -struct termios -{ +struct termios { tcflag_t c_iflag; tcflag_t c_oflag; tcflag_t c_cflag; @@ -53,6 +52,7 @@ struct termios #define ONLRET 0000040 #define OFILL 0000100 #define OFDEL 0000200 +#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_XOPEN_SOURCE) #define NLDLY 0000400 #define NL0 0000000 #define NL1 0000400 @@ -72,6 +72,7 @@ struct termios #define FFDLY 0100000 #define FF0 0000000 #define FF1 0100000 +#endif #define VTDLY 0040000 #define VT0 0000000