1From d667aedc37aeabdb9f8574ee0b9cf85b844ca2d2 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
6include 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     ^~~~~~~~~
11
12Upstream-Status: Pending
13
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15
16---
17 ui/ui.c | 1 +
18 1 file changed, 1 insertion(+)
19
20diff --git a/ui/ui.c b/ui/ui.c
21index 9c6a51f..34f7e34 100644
22--- a/ui/ui.c
23+++ b/ui/ui.c
24@@ -42,6 +42,7 @@
25 #include <fcntl.h>
26 #include <time.h>
27 #include <sys/time.h>
28+#include <sys/types.h>
29 #include <ctype.h>
30
31 #include <OpenIPMI/ipmi_err.h>
32