]> git.sur5r.net Git - u-boot/commit
bch: Fix build on FreeBSD host
authorEmmanuel Vadot <manu@bidouilliste.com>
Tue, 20 Jun 2017 07:02:29 +0000 (09:02 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 20 Jun 2017 18:03:33 +0000 (14:03 -0400)
commit4ecc988301bc8e981e6d7538c57cdb3aa82f7c1d
tree383cd923b33c792cd13c8e65dc6fc350523cf655
parente2351d5cf1e97408b4c52bafeaa85e0ca85c920c
bch: Fix build on FreeBSD host

endian.h on FreeBSD system exist in sys/ subdirectory.
FreeBSD already have a fls function defined in strings.h which is included
in string.h if __BSD_VISIBLE is defined, as a check for this.

Signed-off-by: Emmanuel Vadot <manu@bidouilliste.com>
lib/bch.c