libpayload: Improve compatibility
Define INT_MAX, EOF and make sure size_t is available. Change-Id: I1b4b717d2545ea8312ec52339300307a5bd68f8a Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Reviewed-on: http://review.coreboot.org/104 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
229f7cb6d6
commit
f7b30808f3
@ -32,6 +32,8 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#define EOF (-1)
|
||||
|
||||
typedef struct _FILE FILE;
|
||||
|
||||
extern FILE *stdout, *stdin, *stderr;
|
||||
|
Reference in New Issue
Block a user