Brad Bishop | 64c979e | 2019-11-04 13:55:29 -0500 | [diff] [blame] | 1 | From 0565a080d153d5baaaacfeb5045a832e126f4f9e Mon Sep 17 00:00:00 2001 |
| 2 | From: Alistair Francis <alistair.francis@wdc.com> |
| 3 | Date: Mon, 14 Oct 2019 17:37:30 -0700 |
| 4 | Subject: [PATCH] include/env.h: Ensure ulong is defined |
| 5 | |
| 6 | To fix these failures when building with musl: |
| 7 | include/env.h:166:1: error: unknown type name 'ulong'; did you mean 'long'? |
| 8 | ensure that ulong is defined. |
| 9 | |
| 10 | Upstream-Status: Pending |
| 11 | Signed-off-by: Alistair Francis <alistair.francis@wdc.com> |
| 12 | --- |
| 13 | include/env.h | 2 ++ |
| 14 | 1 file changed, 2 insertions(+) |
| 15 | |
| 16 | diff --git a/include/env.h b/include/env.h |
| 17 | index b72239f6a5..5ca49a3456 100644 |
| 18 | --- a/include/env.h |
| 19 | +++ b/include/env.h |
| 20 | @@ -13,6 +13,8 @@ |
| 21 | #include <stdbool.h> |
| 22 | #include <linux/types.h> |
| 23 | |
| 24 | +typedef unsigned long ulong; |
| 25 | + |
| 26 | struct environment_s; |
| 27 | |
| 28 | /* Value for environment validity */ |
| 29 | -- |
| 30 | 2.23.0 |
| 31 | |