From 744729a4f03fbacbd32446098e10a1e65fb1afe5 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 16 Oct 2015 15:07:15 +0200 Subject: [PATCH] libpayload: Add ptrdiff_t typedef vboot2 in payloads (eg depthcharge) needs it. Change-Id: I4e79ae29cc282c8680f21686befd35c4ff461b3a Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/11922 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Nico Huber --- payloads/libpayload/include/stdint.h | 1 + 1 file changed, 1 insertion(+) 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)