summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/boot/hardwaremain.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/boot/hardwaremain.c b/src/boot/hardwaremain.c
index 6545183f5f..aaf82fa30d 100644
--- a/src/boot/hardwaremain.c
+++ b/src/boot/hardwaremain.c
@@ -37,7 +37,9 @@ it with the version available from LANL.
#include <part/init_timer.h>
#include <boot/elf.h>
#include <romfs.h>
+#if HAVE_ACPI_RESUME == 1
#include <arch/acpi.h>
+#endif
/**
* @brief Main function of the DRAM part of coreboot.