mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-10 04:30:00 +00:00
ipmiutil: Add missing headers for protypes of free/malloc/atoi
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
|||||||
|
From 097e108b81f2571c4c51871044adf409b6954649 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Sat, 3 Sep 2022 00:44:52 -0700
|
||||||
|
Subject: [PATCH] ihpm: Include stdlib.h for malloc/free/atoi functions
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
util/ihpm.c | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/util/ihpm.c b/util/ihpm.c
|
||||||
|
index 740ab74..5ad9ef6 100644
|
||||||
|
--- a/util/ihpm.c
|
||||||
|
+++ b/util/ihpm.c
|
||||||
|
@@ -68,6 +68,7 @@ typedef uint32_t socklen_t;
|
||||||
|
#endif
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdarg.h>
|
||||||
|
+#include <stdlib.h> /* malloc/free/atoi */
|
||||||
|
#include <string.h>
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
|
--
|
||||||
|
2.37.3
|
||||||
|
|
||||||
@@ -22,6 +22,7 @@ PARALLEL_MAKE = ""
|
|||||||
SRC_URI = "${SOURCEFORGE_MIRROR}/ipmiutil/ipmiutil-${PV}.tar.gz \
|
SRC_URI = "${SOURCEFORGE_MIRROR}/ipmiutil/ipmiutil-${PV}.tar.gz \
|
||||||
file://fix_systemd_path.patch \
|
file://fix_systemd_path.patch \
|
||||||
file://0001-Prevent-access-times-from-changing-resulting-gzip-md.patch \
|
file://0001-Prevent-access-times-from-changing-resulting-gzip-md.patch \
|
||||||
|
file://0001-ihpm-Include-stdlib.h-for-malloc-free-atoi-functions.patch \
|
||||||
"
|
"
|
||||||
SRC_URI[md5sum] = "292d6df25cad678bb27e5c8cdc6748f9"
|
SRC_URI[md5sum] = "292d6df25cad678bb27e5c8cdc6748f9"
|
||||||
SRC_URI[sha256sum] = "58ccdbd5755d7dd72478756715af09e9c73330dfad2b91dbf03d2ac504b301a3"
|
SRC_URI[sha256sum] = "58ccdbd5755d7dd72478756715af09e9c73330dfad2b91dbf03d2ac504b301a3"
|
||||||
|
|||||||
Reference in New Issue
Block a user