diff options
author | Georgi Valkov <gvalkov@abv.bg> | 2022-03-03 17:04:38 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-03-05 18:01:04 +0100 |
commit | 1324403eb6c65baa77dd83d1aa9fbd385b877826 (patch) | |
tree | aa22aa8a7bbe3ca29385d0736d977f8b0d967b18 /package/boot | |
parent | 545cabee9ed0fc2c75dd5f4503bbb8b1333a009a (diff) | |
download | upstream-1324403eb6c65baa77dd83d1aa9fbd385b877826.tar.gz upstream-1324403eb6c65baa77dd83d1aa9fbd385b877826.tar.bz2 upstream-1324403eb6c65baa77dd83d1aa9fbd385b877826.zip |
mkhash: fix build errors on FreeBSD 13.0
be64enc, be16dec, and be32dec are declared on FreeBSD 13.0, in
/usr/include/sys/endian.h so we should not declare them.
Fixes the following error during feeds update:
staging_dir/host/bin/mkhash: No such file or directory
gcc scripts/mkhash.c
scripts/mkhash.c:111:1: error: redefinition of 'be64enc'
111 | be64enc(void *buf, uint64_t u)
Signed-off-by: Georgi Valkov <gvalkov@abv.bg>
Diffstat (limited to 'package/boot')
0 files changed, 0 insertions, 0 deletions