summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-16 15:40:05 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-26 06:59:41 +0000
commit6c37d2aa4b78a58c9b59b552ca5d12a922776ba0 (patch)
tree68d6a264010b04d04f0e32ff9ea7a1b7d405fa51
parentae43dc391f78fdd1b2c5c53254a6e148aa398192 (diff)
util/nvmutil: typeset size_t explicitly
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--util/nvmutil/nvmutil.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index 59ceb2c5..f48413d4 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -234,6 +234,9 @@ also consider:
#include <time.h>
#include <unistd.h>
+typedef long ssize_t;
+typedef unsigned long size_t;
+
typedef unsigned char u8;
typedef unsigned short ushort;
typedef unsigned int uint;