diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-12 13:25:13 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-12 13:25:35 +0000 |
| commit | a9e5f9ef4f476583da55fecd0134821ef8d66329 (patch) | |
| tree | 1c3104fb3d91d9a59ba2a0030e189a30ce60e49b | |
| parent | 87b74aadbcb2153403a7d164c7b204b9ed386edf (diff) | |
util/nvmutil: portable errno
Signed-off-by: Leah Rowe <leah@libreboot.org>
| -rw-r--r-- | util/nvmutil/nvmutil.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index 0ea2ad19..e1a2cf1e 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -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]; |
