From 857a7784497e887f7881e635dec31e3d53837d60 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 9 Jul 2010 18:52:17 +0000 Subject: become more standard with libpayload headers. PATH_MAX belongs in limits.h, tiny curses can use standard includes now. Signed-off-by: Stefan Reinauer Acked-by: Patrick Georgi git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5664 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- payloads/libpayload/include/stdio.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'payloads/libpayload/include/stdio.h') diff --git a/payloads/libpayload/include/stdio.h b/payloads/libpayload/include/stdio.h index 2aea4459fa..73af2d18e6 100644 --- a/payloads/libpayload/include/stdio.h +++ b/payloads/libpayload/include/stdio.h @@ -43,4 +43,9 @@ int printf(const char *fmt, ...); void perror(const char *s); +#define SEEK_SET 0 /**< The seek offset is absolute. */ +#define SEEK_CUR 1 /**< The seek offset is against the current position. */ +#define SEEK_END 2 /**< The seek offset is against the end of the file. */ + + #endif -- cgit v1.2.3