Skip to content
Snippets Groups Projects
Commit ed8271d1 authored by Jeroen Hofstee's avatar Jeroen Hofstee Committed by Tom Rini
Browse files

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: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
parent 4a74298c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment