From ba6a9e7734aaff8f4e7d49b888f9dd1954bc92b1 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 18 Apr 2012 12:22:24 -0400 Subject: legacy junk compatibility grab-bag - add the rest of the junk traditionally in sys/param.h - add prototypes for some nonstandard functions - add _GNU_SOURCE to their source files so the compiler can check proto --- include/termios.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/termios.h') diff --git a/include/termios.h b/include/termios.h index 4c465627..3ae853d8 100644 --- a/include/termios.h +++ b/include/termios.h @@ -32,6 +32,11 @@ int tcflow (int, int); pid_t tcgetsid (int); +#ifdef _GNUS_SOURCE +void cfmakeraw(struct termios *); +int cfsetspeed(struct termios *, speed_t); +#endif + #ifdef __cplusplus } #endif -- cgit v1.2.1