summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--payloads/libpayload/include/stdint.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/include/stdint.h b/payloads/libpayload/include/stdint.h
index dbdcbb89d7..b5c233c8c3 100644
--- a/payloads/libpayload/include/stdint.h
+++ b/payloads/libpayload/include/stdint.h
@@ -38,6 +38,7 @@ typedef unsigned long long uintmax_t;
typedef unsigned long uintptr_t;
typedef long intptr_t;
+typedef long ptrdiff_t;
#define INT8_MAX (127)
#define INT16_MAX (32767)