From f7b30808f38eb236622902bfd93626dab4dbbb61 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 12 Jul 2011 15:02:04 +0200 Subject: libpayload: Improve compatibility Define INT_MAX, EOF and make sure size_t is available. Change-Id: I1b4b717d2545ea8312ec52339300307a5bd68f8a Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/104 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- payloads/libpayload/include/limits.h | 1 + 1 file changed, 1 insertion(+) (limited to 'payloads/libpayload/include/limits.h') diff --git a/payloads/libpayload/include/limits.h b/payloads/libpayload/include/limits.h index be7dde07fa..2fecf239b0 100644 --- a/payloads/libpayload/include/limits.h +++ b/payloads/libpayload/include/limits.h @@ -41,5 +41,6 @@ #endif #define UINT_MAX (unsigned int)0xffffffff +#define INT_MAX (unsigned int)0x7fffffff #endif -- cgit v1.2.3