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:Milan P. Stanić <mps@arvanta.net> Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Tested-by:
Milan P. Stanić <mps@arvanta.net> Reviewed-by:
Simon Glass <sjg@chromium.org>
Loading
Please register or sign in to comment