Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 1 | From 4f41e090e33a00117a27f0c77b6338fb8b495f37 Mon Sep 17 00:00:00 2001 |
| 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> |
| 15 | --- |
| 16 | ui/ui.c | 1 + |
| 17 | 1 file changed, 1 insertion(+) |
| 18 | |
| 19 | diff --git a/ui/ui.c b/ui/ui.c |
| 20 | index 529ff22..066d118 100644 |
| 21 | --- a/ui/ui.c |
| 22 | +++ b/ui/ui.c |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 23 | @@ -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 Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 30 | #include <OpenIPMI/ipmi_err.h> |