util/nvmutil: fix O_NONBLOCK fallback

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-16 16:16:58 +00:00
parent f62ac24d8f
commit bc2cf24993

View File

@@ -305,7 +305,7 @@ typedef char static_assert_off_t_is_32[(sizeof(off_t) >= 4) ? 1 : -1];
#endif
#ifndef O_NONBLOCK
#define O_NONBLOCK
#define O_NONBLOCK 0
#endif
#ifndef O_CLOEXEC