summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-16 15:50:52 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-16 15:50:52 +0000
commit7d5ada2272c5145f88d9312e8c3742cccaa1e4f7 (patch)
tree18fa3e2f3813d0101b0341a7df236d01c4f0ecb1
parent6744867e4ee321c996736d5ae192d1592bdb8fdb (diff)
util/nvmutil: add portable malloc extern
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--util/nvmutil/nvmutil.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index a87b7c4f..2ca27ade 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -712,6 +712,8 @@ static char *tname = NULL;
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
#endif
+extern void *malloc();
+
int
main(int argc, char *argv[])
{