diff --git a/include/termios.h b/include/termios.h index 7690883..1041759 100644 --- a/include/termios.h +++ b/include/termios.h @@ -32,7 +32,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