blob: 18129e6fcb95d50682a2efdba0e678bb8bf12cf2 [file] [log] [blame]
Patrick Williams705982a2024-01-12 09:51:57 -06001From d667aedc37aeabdb9f8574ee0b9cf85b844ca2d2 Mon Sep 17 00:00:00 2001
Brad Bishop15ae2502019-06-18 21:44:24 -04002From: 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>
Patrick Williams705982a2024-01-12 09:51:57 -060015
Brad Bishop15ae2502019-06-18 21:44:24 -040016---
17 ui/ui.c | 1 +
18 1 file changed, 1 insertion(+)
19
20diff --git a/ui/ui.c b/ui/ui.c
Patrick Williams705982a2024-01-12 09:51:57 -060021index 9c6a51f..34f7e34 100644
Brad Bishop15ae2502019-06-18 21:44:24 -040022--- a/ui/ui.c
23+++ b/ui/ui.c
Brad Bishop6e60e8b2018-02-01 10:27:11 -050024@@ -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
Brad Bishop316dfdd2018-06-25 12:45:53 -040031 #include <OpenIPMI/ipmi_err.h>