util/nvmutil: define _FILE_OFFSET_BITS

some older systems have 32-bit off_t. this makes them
have 64-bit off_t

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-09 16:34:59 +00:00
parent 48b8be7a24
commit 2d4567238a
+4
View File
@@ -19,6 +19,10 @@
#define _XOPEN_SOURCE 500
#endif
#ifndef _FILE_OFFSET_BITS
#define _FILE_OFFSET_BITS 64
#endif
#ifdef __OpenBSD__
#include <sys/param.h>
#endif