diff options
author | Patrick Georgi <pgeorgi@google.com> | 2015-10-16 15:07:15 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-10-20 16:50:25 +0200 |
commit | 744729a4f03fbacbd32446098e10a1e65fb1afe5 (patch) | |
tree | fc2f61bd8288bed6c8fc476f1ae5bed9a664d453 /payloads/libpayload | |
parent | 5c406459e8352553c83bbefeddcdd6571690020d (diff) |
libpayload: Add ptrdiff_t typedef
vboot2 in payloads (eg depthcharge) needs it.
Change-Id: I4e79ae29cc282c8680f21686befd35c4ff461b3a
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: http://review.coreboot.org/11922
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'payloads/libpayload')
-rw-r--r-- | payloads/libpayload/include/stdint.h | 1 |
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) |