aboutsummaryrefslogtreecommitdiff
path: root/stand/efi/fdt
diff options
context:
space:
mode:
Diffstat (limited to 'stand/efi/fdt')
-rw-r--r--stand/efi/fdt/Makefile1
-rw-r--r--stand/efi/fdt/efi_fdt.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/stand/efi/fdt/Makefile b/stand/efi/fdt/Makefile
index bbb380f52184..15a42614a422 100644
--- a/stand/efi/fdt/Makefile
+++ b/stand/efi/fdt/Makefile
@@ -12,6 +12,7 @@ SRCS= efi_fdt.c
# EFI library headers
CFLAGS+= -I${EFISRC}/include
CFLAGS+= -I${EFISRC}/include/${MACHINE}
+CFLAGS+= -I${EDK2INC}
# libfdt headers
CFLAGS+= -I${FDTSRC}
diff --git a/stand/efi/fdt/efi_fdt.c b/stand/efi/fdt/efi_fdt.c
index adf830e44182..56e7361a8d9f 100644
--- a/stand/efi/fdt/efi_fdt.c
+++ b/stand/efi/fdt/efi_fdt.c
@@ -31,6 +31,8 @@
#include <efi.h>
#include <efilib.h>
#include <fdt_platform.h>
+#include <Uefi.h>
+#include <Guid/Fdt.h>
#include "bootstrap.h"