diff options
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.patch | 21 |
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 @@ | |||
1 | From 4f41e090e33a00117a27f0c77b6338fb8b495f37 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 2 Jun 2017 21:58:32 -0700 | ||
4 | Subject: [PATCH] openipmi: Fix build with musl | ||
5 | |||
1 | include sys/types.h for u_int32_t | 6 | include sys/types.h for u_int32_t |
2 | 7 | ||
3 | ui.c:340:5: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? | 8 | ui.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 | ^~~~~~~~~ |
6 | Index: OpenIPMI-2.0.24/ui/ui.c | 11 | |
7 | =================================================================== | 12 | Upstream-Status: Pending |
8 | --- OpenIPMI-2.0.24.orig/ui/ui.c | 13 | |
9 | +++ OpenIPMI-2.0.24/ui/ui.c | 14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
15 | --- | ||
16 | ui/ui.c | 1 + | ||
17 | 1 file changed, 1 insertion(+) | ||
18 | |||
19 | diff --git a/ui/ui.c b/ui/ui.c | ||
20 | index 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> |