summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;