diff options
author | Patrick Georgi <patrick.georgi@secunet.com> | 2011-07-12 15:02:04 +0200 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2011-07-16 11:09:28 +0200 |
commit | f7b30808f38eb236622902bfd93626dab4dbbb61 (patch) | |
tree | c8661aee54eb390a40b0000115d7cc321af63b65 /payloads/libpayload/include/stdio.h | |
parent | 229f7cb6d660ad4063c9f65e3fabfff80583f281 (diff) | |
download | coreboot-f7b30808f38eb236622902bfd93626dab4dbbb61.tar.xz |
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>
Diffstat (limited to 'payloads/libpayload/include/stdio.h')
-rw-r--r-- | payloads/libpayload/include/stdio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/libpayload/include/stdio.h b/payloads/libpayload/include/stdio.h index d39e9f8545..924d17e849 100644 --- a/payloads/libpayload/include/stdio.h +++ b/payloads/libpayload/include/stdio.h @@ -32,6 +32,8 @@ #include <stddef.h> +#define EOF (-1) + typedef struct _FILE FILE; extern FILE *stdout, *stdin, *stderr; |