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-26 06:59:41 +0000
commit64835e67fdf7b10a9220c0dff1efe1a378505594 (patch)
tree03f59e53366a00c5eb0baabe18b42854b4f4f8df
parent0043446f60de84f6756bd6e375ab0a47899737a0 (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[])
{