summaryrefslogtreecommitdiffstats
path: root/src/boot/efi/pe.h
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2021-01-30 18:21:48 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2021-01-31 11:38:59 +0100
commit47381f8f6403d46cd8a23617fe39b9b431a229c3 (patch)
tree61cb9cd5ef41a36ea2f88c2d39194ad3efeb360d /src/boot/efi/pe.h
parentsd-boot: Make internal functions static (diff)
downloadsystemd-47381f8f6403d46cd8a23617fe39b9b431a229c3.tar.xz
systemd-47381f8f6403d46cd8a23617fe39b9b431a229c3.zip
sd-boot: Add missing includes
Let's make all headers self-sufficient by including the necessary EFI headers in the headers themselves.
Diffstat (limited to 'src/boot/efi/pe.h')
-rw-r--r--src/boot/efi/pe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/boot/efi/pe.h b/src/boot/efi/pe.h
index 3e97d43f66..06a0fcd70c 100644
--- a/src/boot/efi/pe.h
+++ b/src/boot/efi/pe.h
@@ -1,6 +1,8 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
+#include <efi.h>
+
EFI_STATUS pe_memory_locate_sections(CHAR8 *base,
CHAR8 **sections, UINTN *addrs, UINTN *offsets, UINTN *sizes);
EFI_STATUS pe_file_locate_sections(EFI_FILE *dir, CHAR16 *path,