summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-06-02 08:38:29 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-06-02 08:38:32 +0200
commit72dc626b3d6905b105ae61ca2c60f51a6f74070e (patch)
tree6959b206c89aceb9ab6708516cba1ed1ff22fb3b /src
parentefi: do not use _STRING_ARCH_unaligned macro (diff)
downloadsystemd-72dc626b3d6905b105ae61ca2c60f51a6f74070e.tar.xz
systemd-72dc626b3d6905b105ae61ca2c60f51a6f74070e.zip
efi: include endian.h to handle endian correctly
The macro __BYTE_ORDER__ is defined in endian.h.
Diffstat (limited to 'src')
-rw-r--r--src/boot/efi/sha256.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/boot/efi/sha256.h b/src/boot/efi/sha256.h
index 464be59c25..3a43601e73 100644
--- a/src/boot/efi/sha256.h
+++ b/src/boot/efi/sha256.h
@@ -1,6 +1,8 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
+#include <endian.h>
+
#include <efi.h>
#include <efilib.h>