Skip to content
Snippets Groups Projects
Commit 880dbc5f authored by Heinrich Schuchardt's avatar Heinrich Schuchardt :speech_balloon: Committed by Simon Glass
Browse files

sandbox: compatibility of os_get_filesize()


U-Boot define loff_t as long long. But the header
/usr/include/linux/types.h may not define it.
This has lead to a build error on Alpine Linux.

So let's use long long instead of loff_t for
the size parameter of function os_get_filesize().

Reported-by: default avatarMilan P. Stanić <mps@arvanta.net>
Signed-off-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tested-by: default avatarMilan P. Stanić <mps@arvanta.net>
Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent dca7926c
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