Переглянути джерело

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>
Siew Chin Lim 3 роки тому
батько
коміт
277b879906
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      lib/sha512.c

+ 1 - 0
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>