From 94abe88bb18280600c384bdd9bdbb5d4d0207e32 Mon Sep 17 00:00:00 2001 From: Daniel Beer Date: Sat, 3 Mar 2012 09:57:48 +1300 Subject: [PATCH] Non-standard baud rates for FreeBSD, NetBSD. This appears to work the same as it does for OpenBSD. --- util/sport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/sport.c b/util/sport.c index f14564b..c5f2518 100644 --- a/util/sport.c +++ b/util/sport.c @@ -88,7 +88,7 @@ static int set_nonstandard_rate(int fd, struct termios *attr, int rate) return 0; } -#elif defined(__OpenBSD__) +#elif defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) static int set_nonstandard_rate(int fd, struct termios *attr, int rate) { cfsetispeed(attr, rate);