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 45159f1f3..174d531b2 100644 --- a/libbb/speed_table.c +++ b/libbb/speed_table.c | |||
@@ -10,7 +10,12 @@ | |||
10 | #include "libbb.h" | 10 | #include "libbb.h" |
11 | 11 | ||
12 | struct speed_map { | 12 | struct speed_map { |
13 | #if defined __FreeBSD__ | ||
14 | /* On FreeBSD, B<num> constants don't fit into a short */ | ||
15 | unsigned speed; | ||
16 | #else | ||
13 | unsigned short speed; | 17 | unsigned short speed; |
18 | #endif | ||
14 | unsigned short value; | 19 | unsigned short value; |
15 | }; | 20 | }; |
16 | 21 | ||