mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-22 08:39:20 +00:00
openipmi: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
7ef2154031
commit
20856770b5
@ -0,0 +1,17 @@
|
||||
include sys/types.h for u_int32_t
|
||||
|
||||
ui.c:340:5: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
|
||||
u_int32_t addr;
|
||||
^~~~~~~~~
|
||||
Index: OpenIPMI-2.0.22/ui/ui.c
|
||||
===================================================================
|
||||
--- OpenIPMI-2.0.22.orig/ui/ui.c
|
||||
+++ OpenIPMI-2.0.22/ui/ui.c
|
||||
@@ -42,6 +42,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
+#include <sys/types.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include <OpenIPMI/selector.h>
|
||||
@ -30,6 +30,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/openipmi/OpenIPMI-${PV}.tar.gz \
|
||||
file://ipmi-init-fix-the-arguments.patch \
|
||||
file://makefile-add-ldflags.patch \
|
||||
file://do-not-install-pyc-and-pyo.patch \
|
||||
file://include_sys_types.patch \
|
||||
file://openipmi-helper \
|
||||
file://ipmi.service \
|
||||
"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user