summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2014-05-14 12:43:31 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-05-15 23:52:36 +0000
commit32c8ee3e2598d5b9d6d7447155ca1580c6938904 (patch)
treec2a8c8419b7a5be193909ef83286b2d7ee6a415a
parent36ba3400d42a6455ba46ca9b500ddd87417486df (diff)
downloadvboot-stabilize-5875.B.tar.gz
Add missing #include in vboot_api.hstabilize-5875.B
This includes stdlib.h since otherwise size_t might not be defined. BUG=none BRANCH=none TEST=fixed a compilation issue with coreboot Signed-off-by: David Hendricks <dhendrix@chromium.org> Change-Id: I83e2b761d2d8e0d4899c9bdebf40190f1444cd8a Reviewed-on: https://chromium-review.googlesource.com/199840 Reviewed-by: Bill Richardson <wfrichar@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Tested-by: David Hendricks <dhendrix@chromium.org> Commit-Queue: David Hendricks <dhendrix@chromium.org>
-rw-r--r--firmware/include/vboot_api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/include/vboot_api.h b/firmware/include/vboot_api.h
index 1561defe..bb29bcf7 100644
--- a/firmware/include/vboot_api.h
+++ b/firmware/include/vboot_api.h
@@ -22,6 +22,7 @@
#ifndef VBOOT_REFERENCE_VBOOT_API_H_
#define VBOOT_REFERENCE_VBOOT_API_H_
#include <stdint.h>
+#include <stdlib.h>
/*****************************************************************************/
/* Error codes */