summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/openipmi/files/include_sys_types.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/openipmi/files/include_sys_types.patch')
-rw-r--r--meta-networking/recipes-support/openipmi/files/include_sys_types.patch21
1 files changed, 17 insertions, 4 deletions
diff --git a/meta-networking/recipes-support/openipmi/files/include_sys_types.patch b/meta-networking/recipes-support/openipmi/files/include_sys_types.patch
index 082511a67..61b39995a 100644
--- a/meta-networking/recipes-support/openipmi/files/include_sys_types.patch
+++ b/meta-networking/recipes-support/openipmi/files/include_sys_types.patch
@@ -1,12 +1,25 @@
1From 4f41e090e33a00117a27f0c77b6338fb8b495f37 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 2 Jun 2017 21:58:32 -0700
4Subject: [PATCH] openipmi: Fix build with musl
5
1include sys/types.h for u_int32_t 6include sys/types.h for u_int32_t
2 7
3ui.c:340:5: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 8ui.c:340:5: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
4 u_int32_t addr; 9 u_int32_t addr;
5 ^~~~~~~~~ 10 ^~~~~~~~~
6Index: OpenIPMI-2.0.24/ui/ui.c 11
7=================================================================== 12Upstream-Status: Pending
8--- OpenIPMI-2.0.24.orig/ui/ui.c 13
9+++ OpenIPMI-2.0.24/ui/ui.c 14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 ui/ui.c | 1 +
17 1 file changed, 1 insertion(+)
18
19diff --git a/ui/ui.c b/ui/ui.c
20index 529ff22..066d118 100644
21--- a/ui/ui.c
22+++ b/ui/ui.c
10@@ -42,6 +42,7 @@ 23@@ -42,6 +42,7 @@
11 #include <fcntl.h> 24 #include <fcntl.h>
12 #include <time.h> 25 #include <time.h>