blob: 61b39995a60802356e104576e8ac94370e2c8ebb [file] [log] [blame]
Brad Bishop15ae2502019-06-18 21:44:24 -04001From 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
Brad Bishop6e60e8b2018-02-01 10:27:11 -05006include sys/types.h for u_int32_t
7
8ui.c:340:5: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
9 u_int32_t addr;
10 ^~~~~~~~~
Brad Bishop15ae2502019-06-18 21:44:24 -040011
12Upstream-Status: Pending
13
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
Brad Bishop6e60e8b2018-02-01 10:27:11 -050023@@ -42,6 +42,7 @@
24 #include <fcntl.h>
25 #include <time.h>
26 #include <sys/time.h>
27+#include <sys/types.h>
28 #include <ctype.h>
29
Brad Bishop316dfdd2018-06-25 12:45:53 -040030 #include <OpenIPMI/ipmi_err.h>