Patrick Williams | 705982a | 2024-01-12 09:51:57 -0600 | [diff] [blame^] | 1 | From d667aedc37aeabdb9f8574ee0b9cf85b844ca2d2 Mon Sep 17 00:00:00 2001 |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 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 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 6 | include sys/types.h for u_int32_t |
| 7 | |
| 8 | ui.c:340:5: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? |
| 9 | u_int32_t addr; |
| 10 | ^~~~~~~~~ |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 11 | |
| 12 | Upstream-Status: Pending |
| 13 | |
| 14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
Patrick Williams | 705982a | 2024-01-12 09:51:57 -0600 | [diff] [blame^] | 15 | |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 16 | --- |
| 17 | ui/ui.c | 1 + |
| 18 | 1 file changed, 1 insertion(+) |
| 19 | |
| 20 | diff --git a/ui/ui.c b/ui/ui.c |
Patrick Williams | 705982a | 2024-01-12 09:51:57 -0600 | [diff] [blame^] | 21 | index 9c6a51f..34f7e34 100644 |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 22 | --- a/ui/ui.c |
| 23 | +++ b/ui/ui.c |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 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 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 31 | #include <OpenIPMI/ipmi_err.h> |