diff options
author | Siew Chin Lim <elly.siew.chin.lim@intel.com> | 2021-02-19 10:32:07 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-02-24 16:51:49 -0500 |
commit | 277b8799061df3b3aa242c5fee9b1cf6a40abe04 (patch) | |
tree | 4f693b045250414c117907a3cc6723872d44531a /lib/sha512.c | |
parent | 391a16b710dd5688bffac1dca0026f96638361b0 (diff) | |
download | u-boot-277b8799061df3b3aa242c5fee9b1cf6a40abe04.tar.gz u-boot-277b8799061df3b3aa242c5fee9b1cf6a40abe04.tar.bz2 u-boot-277b8799061df3b3aa242c5fee9b1cf6a40abe04.zip |
lib: sha512: include "compiler.h"
Include "compiler.h" in sha512.c. This is needed by 'cpu_to_be64' macro
that used in 'sha512_base_do_finalize' function.
Signed-off-by: Siew Chin Lim <elly.siew.chin.lim@intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/sha512.c')
-rw-r--r-- | lib/sha512.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sha512.c b/lib/sha512.c index f1e2acf0fb..35f31e3dc5 100644 --- a/lib/sha512.c +++ b/lib/sha512.c @@ -16,6 +16,7 @@ #else #include <string.h> #endif /* USE_HOSTCC */ +#include <compiler.h> #include <watchdog.h> #include <u-boot/sha512.h> |