summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-16 15:40:05 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-16 15:40:05 +0000
commitd2d2fb778a6cf0fe78b4691ce878fb3d2fd0e09b (patch)
tree2888dc8eccdd56fecead48b3c328ef6f7e0902df /util
parent440d6ce5ba127739ab04d3254e7cb6340de3361e (diff)
util/nvmutil: typeset size_t explicitly
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util')
-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;