diff options
Diffstat (limited to 'libbb/speed_table.c')
-rw-r--r-- | libbb/speed_table.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libbb/speed_table.c b/libbb/speed_table.c index 45159f1..174d531 100644 --- a/libbb/speed_table.c +++ b/libbb/speed_table.c @@ -10,7 +10,12 @@ #include "libbb.h" struct speed_map { +#if defined __FreeBSD__ + /* On FreeBSD, B<num> constants don't fit into a short */ + unsigned speed; +#else unsigned short speed; +#endif unsigned short value; }; |