diff options
author | Siew Chin Lim <elly.siew.chin.lim@intel.com> | 2021-02-19 05:32:07 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-02-25 00:51:49 +0300 |
commit | 277b8799061df3b3aa242c5fee9b1cf6a40abe04 (patch) | |
tree | 4f693b045250414c117907a3cc6723872d44531a /lib | |
parent | 391a16b710dd5688bffac1dca0026f96638361b0 (diff) | |
download | u-boot-277b8799061df3b3aa242c5fee9b1cf6a40abe04.tar.xz |
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')
-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> |