Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31346 )
Change subject: libpayload/sys/types.h: Add definition for off_t ......................................................................
Patch Set 1:
I don't mind adding the type, but I'm not sure why we need a whole new header file for it. Why not just throw it into stddef.h or something? I don't think libpayload ever intended to be fully POSIX-compliant in terms of which definitions are in which headers (rather, all the standard stuff is supposed to be included as some part of libpayload.h).
Also, why not define it to ssize_t?