mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-13 06:49:52 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user