]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
lib: sha512: include "compiler.h"
authorSiew Chin Lim <elly.siew.chin.lim@intel.com>
Fri, 19 Feb 2021 02:32:07 +0000 (10:32 +0800)
committerTom Rini <trini@konsulko.com>
Wed, 24 Feb 2021 21:51:49 +0000 (16:51 -0500)
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>
lib/sha512.c

index f1e2acf0fbcbd1f59f0932659b28c69e72d2365f..35f31e3dc5f8f51a5eda2610ea52fa8e42dfdcd7 100644 (file)
@@ -16,6 +16,7 @@
 #else
 #include <string.h>
 #endif /* USE_HOSTCC */
+#include <compiler.h>
 #include <watchdog.h>
 #include <u-boot/sha512.h>