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>
This commit is contained in:
Patrick Georgi 2015-10-16 15:07:15 +02:00
parent 5c406459e8
commit 744729a4f0
1 changed files with 1 additions and 0 deletions

View File

@ -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)