Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From cb59b3af54fb3bbd4d8264fef919810af8d08d16 Mon Sep 17 00:00:00 2001 |
| 2 | From: Chen Qi <Qi.Chen@windriver.com> |
| 3 | Date: Tue, 27 Feb 2018 14:01:30 +0800 |
| 4 | Subject: [PATCH 14/19] fix missing ULONG_LONG_MAX definition in case of musl |
| 5 | |
| 6 | Upstream-Status: Inappropriate [musl] |
| 7 | |
| 8 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> |
| 9 | --- |
| 10 | src/basic/missing.h | 4 ++++ |
| 11 | 1 file changed, 4 insertions(+) |
| 12 | |
| 13 | diff --git a/src/basic/missing.h b/src/basic/missing.h |
| 14 | index cd1cc109f..144058a1a 100644 |
| 15 | --- a/src/basic/missing.h |
| 16 | +++ b/src/basic/missing.h |
| 17 | @@ -54,6 +54,10 @@ struct sockaddr_vm { |
| 18 | }; |
| 19 | #endif /* !HAVE_LINUX_VM_SOCKETS_H */ |
| 20 | |
| 21 | +#ifndef ULONG_LONG_MAX |
| 22 | +#define ULONG_LONG_MAX ULLONG_MAX |
| 23 | +#endif |
| 24 | + |
| 25 | #ifndef RLIMIT_RTTIME |
| 26 | #define RLIMIT_RTTIME 15 |
| 27 | #endif |
| 28 | -- |
| 29 | 2.11.0 |
| 30 | |