From d667aedc37aeabdb9f8574ee0b9cf85b844ca2d2 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 2 Jun 2017 21:58:32 -0700
Subject: [PATCH] openipmi: Fix build with musl

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;
     ^~~~~~~~~

Upstream-Status: Pending

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 ui/ui.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/ui.c b/ui/ui.c
index 9c6a51f..34f7e34 100644
--- a/ui/ui.c
+++ b/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/ipmi_err.h>
