summaryrefslogtreecommitdiff
path: root/include/termios.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/termios.h')
-rw-r--r--include/termios.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/termios.h b/include/termios.h
index 76908839..1041759b 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