summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-09 16:33:13 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-09 16:33:30 +0000
commit48b8be7a247b340b271b9670cc10e764580f558d (patch)
treee2851e6f429fbe2d9d7d2c1e2662260650fb724a /util
parent31bd21a466716c43f6cb3b4e3c8ed5ffd445a543 (diff)
util/nvmutil: include sys/types.h
some older systems need it for pread/pwrite it must come before stat.h Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util')
-rw-r--r--util/nvmutil/nvmutil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index 82f67788..37bbdeff 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -22,6 +22,7 @@
#ifdef __OpenBSD__
#include <sys/param.h>
#endif
+#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>