diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-09 16:29:05 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-09 16:29:05 +0000 |
| commit | 31bd21a466716c43f6cb3b4e3c8ed5ffd445a543 (patch) | |
| tree | 9aacfb8a6bca3c1cce68820c286fd41bf70b205a /util | |
| parent | 8fc0f4fa07860d4dccd5a46a700852190918388f (diff) | |
util/nvmutil: use even older define for pread
with this new define, we can target even older systems
from the late 90s.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util')
| -rw-r--r-- | util/nvmutil/nvmutil.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index c763727d..82f67788 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -15,7 +15,9 @@ * -Os -Wall -Wextra -Werror -pedantic -std=c99 */ -#define _POSIX_C_SOURCE 200809L +#ifndef _XOPEN_SOURCE +#define _XOPEN_SOURCE 500 +#endif #ifdef __OpenBSD__ #include <sys/param.h> |
