commit | ed8271d11c5c7a31eb49f787fa25eece6b82bb9e | [log] [tgz] |
---|---|---|
author | Jeroen Hofstee <jeroen@myspectrum.nl> | Tue Oct 07 22:42:27 2014 +0200 |
committer | Tom Rini <trini@ti.com> | Fri Oct 10 16:00:01 2014 -0400 |
tree | 82c2f16d244eb0ed53842b7901fb1c370a3432ed | |
parent | 4a74298c54272f1b0397826072c193158d3e7f14 [diff] |
tools: compiler.h: Fix build on FreeBSD Commit 832472 "tools: socfpga: Add socfpga preloader signing to mkimage" added tools/socfpga.c which relies on htole32, le32toh and friends. While compiler.h includes these protypes for linux from endian.h, it doesn't do so for FreeBSD. Hence include <sys/endian.h> for FreeBSD. Cc: Marek Vasut <marex@denx.de> CC: Tom Rini <trini@ti.com> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>