summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libgcov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libgcov.c b/src/lib/libgcov.c
index 887351aa57..571aa7bb8e 100644
--- a/src/lib/libgcov.c
+++ b/src/lib/libgcov.c
@@ -25,12 +25,12 @@ permissions described in the GCC Runtime Library Exception, version
#ifdef __COREBOOT__
#include <stdlib.h>
#include <string.h>
+#include <commonlib/helpers.h>
#include <console/console.h>
#include <assert.h>
typedef s32 pid_t;
#define gcc_assert(x) ASSERT(x)
#define fprintf(file, x...) printk(BIOS_ERR, x)
-#define alloca(size) __builtin_alloca(size)
#include "gcov-glue.c"
/* Define MACROs to be used by coreboot compilation. */