summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
Diffstat (limited to 'payloads')
-rw-r--r--payloads/libpayload/include/armv7/arch/types.h3
-rw-r--r--payloads/libpayload/include/x86/arch/types.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/payloads/libpayload/include/armv7/arch/types.h b/payloads/libpayload/include/armv7/arch/types.h
index 1bd815bb44..d6f4aa8b66 100644
--- a/payloads/libpayload/include/armv7/arch/types.h
+++ b/payloads/libpayload/include/armv7/arch/types.h
@@ -53,6 +53,9 @@ typedef signed long long s64;
typedef long time_t;
typedef long suseconds_t;
+typedef unsigned int size_t;
+typedef int ssize_t;
+
#ifndef NULL
#define NULL ((void *)0)
#endif
diff --git a/payloads/libpayload/include/x86/arch/types.h b/payloads/libpayload/include/x86/arch/types.h
index 1bd815bb44..d6f4aa8b66 100644
--- a/payloads/libpayload/include/x86/arch/types.h
+++ b/payloads/libpayload/include/x86/arch/types.h
@@ -53,6 +53,9 @@ typedef signed long long s64;
typedef long time_t;
typedef long suseconds_t;
+typedef unsigned int size_t;
+typedef int ssize_t;
+
#ifndef NULL
#define NULL ((void *)0)
#endif