summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/i386
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2012-04-17 15:35:00 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-11-07 18:30:04 +0100
commitaccc6a5e046b66c84b01556e93a71800afe8ea68 (patch)
tree7edd03e796777334936ab81eb81c0301bd4bdd35 /payloads/libpayload/include/i386
parent746d17434797a7ce9009dae4689f8d08ad5a841a (diff)
Include stdint.h in libpayload's rdtsc.h.
This file uses uint*_t types but hadn't included stdint.h itself. Change-Id: Ib883f62951bae1ece5134c6bd0f4799a80740e8e Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: http://review.coreboot.org/1720 Reviewed-by: Patrick Georgi <patrick@georgi-clan.de> Tested-by: build bot (Jenkins)
Diffstat (limited to 'payloads/libpayload/include/i386')
-rw-r--r--payloads/libpayload/include/i386/arch/rdtsc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/libpayload/include/i386/arch/rdtsc.h b/payloads/libpayload/include/i386/arch/rdtsc.h
index 52f8c9c83c..ef23e0e247 100644
--- a/payloads/libpayload/include/i386/arch/rdtsc.h
+++ b/payloads/libpayload/include/i386/arch/rdtsc.h
@@ -30,6 +30,8 @@
#ifndef _ARCH_RDTSC_H
#define _ARCH_RDTSC_H
+#include <stdint.h>
+
static u64 rdtsc(void)
{
u64 val;