mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
util/nvmutil: portable errno
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -431,6 +431,10 @@ static const struct commands command[] = {
|
||||
*/
|
||||
static size_t cmd_index = CMD_NULL;
|
||||
|
||||
#ifndef errno
|
||||
extern int errno;
|
||||
#endif
|
||||
|
||||
typedef char assert_argc3[(ARGC_3==3)?1:-1];
|
||||
typedef char assert_argc4[(ARGC_4==4)?1:-1];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user