diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-10 13:34:40 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-10 13:34:40 +0000 |
| commit | 79106c5b3df54ef796fdd51f8d03765b51f1d109 (patch) | |
| tree | 3a524bc85c40576e5b08a8a9b757d0c67dd3847d | |
| parent | adfe865afc2e2649ca3fe48b693dadeb9ff00577 (diff) | |
util/nvmutil: define EXIT_FAILURE/SUCCESS
Signed-off-by: Leah Rowe <leah@libreboot.org>
| -rw-r--r-- | util/nvmutil/nvmutil.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index 42687eb2..d834eea0 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -89,6 +89,14 @@ typedef char static_assert_off_t_is_32[(sizeof(off_t) >= 4) ? 1 : -1]; #endif #endif +#ifndef EXIT_FAILURE +#define EXIT_FAILURE 1 +#endif + +#ifndef EXIT_SUCCESS +#define EXIT_SUCCESS 0 +#endif + #ifndef O_BINARY #define O_BINARY 0 #endif |
