Hello Nico Huber,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/31346
to review the following change.
Change subject: libpayload/sys/types.h: Add definition for off_t ......................................................................
libpayload/sys/types.h: Add definition for off_t
`off_t` is supposed to be signed, but has no (minimum) width specified. We'll assume 32-bit minimum, like a `signed long int`.
Change-Id: I6c0c1bc1a959db7863cbad2ba29318da162431be Signed-off-by: Nico Huber nico.huber@secunet.com --- M payloads/libpayload/include/sys/types.h 1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/31346/1
diff --git a/payloads/libpayload/include/sys/types.h b/payloads/libpayload/include/sys/types.h index ae143d7..0ed4975 100644 --- a/payloads/libpayload/include/sys/types.h +++ b/payloads/libpayload/include/sys/types.h @@ -27,4 +27,11 @@ * SUCH DAMAGE. */
+#ifndef _SYS_TYPES_H +#define _SYS_TYPES_H + #include <arch/types.h> + +typedef signed long int off_t; + +#endif /* _SYS_TYPES_H */