diff options
| author | Siew Chin Lim <[email protected]> | 2021-02-19 10:32:07 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-02-24 16:51:49 -0500 |
| commit | 277b8799061df3b3aa242c5fee9b1cf6a40abe04 (patch) | |
| tree | 4f693b045250414c117907a3cc6723872d44531a /lib | |
| parent | 391a16b710dd5688bffac1dca0026f96638361b0 (diff) | |
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
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 f1e2acf0fbc..35f31e3dc5f 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> |
