projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libarchive: open_zipped() does not need to check extensions for e.g. gzip
[oweals/busybox.git]
/
libbb
/
speed_table.c
diff --git
a/libbb/speed_table.c
b/libbb/speed_table.c
index 45159f1f3b8e347c33f31a0aa2fdae972f85217b..174d531b2733411ef80ad8a05ba4ddaff4789b50 100644
(file)
--- 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;
};