summaryrefslogtreecommitdiff
path: root/payloads/libpayload/arch/arm/virtual.c
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2015-07-01 11:48:57 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-07-01 20:55:29 +0200
commit088c1894f825a14e769c7b3d36333f5e4b6d0685 (patch)
tree8657a9210c44960262e1180d1f5059d25257751d /payloads/libpayload/arch/arm/virtual.c
parent909b916e56dcbb9e4fa1334055cea998b03d99b4 (diff)
libpayload: Fix compilation on ARM with GDB enabled
Without this, gdb_enter() is not defined. Change-Id: I067dce371ee817d6ac77387fcbe42a9a7deb6438 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: http://review.coreboot.org/10755 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'payloads/libpayload/arch/arm/virtual.c')
-rw-r--r--payloads/libpayload/arch/arm/virtual.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/arch/arm/virtual.c b/payloads/libpayload/arch/arm/virtual.c
index 0d53e50616..acca057a8b 100644
--- a/payloads/libpayload/arch/arm/virtual.c
+++ b/payloads/libpayload/arch/arm/virtual.c
@@ -27,6 +27,7 @@
* SUCH DAMAGE.
*/
+#include <libpayload.h>
#include <assert.h>
#include <die.h>
#include <stdlib.h>