]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
efi: include endian.h to handle endian correctly
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 2 Jun 2021 06:38:29 +0000 (15:38 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 2 Jun 2021 06:38:32 +0000 (15:38 +0900)
The macro __BYTE_ORDER__ is defined in endian.h.

src/boot/efi/sha256.h

index 464be59c2510ce33a0cc093476cd93a8e314f8de..3a43601e738522874a6e0ce6f7e2cc969d380bd7 100644 (file)
@@ -1,6 +1,8 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 #pragma once
 
+#include <endian.h>
+
 #include <efi.h>
 #include <efilib.h>