blob: 258a631cad849be81dc5832310018d1498597f72 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From cb59b3af54fb3bbd4d8264fef919810af8d08d16 Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Tue, 27 Feb 2018 14:01:30 +0800
4Subject: [PATCH 14/19] fix missing ULONG_LONG_MAX definition in case of musl
5
6Upstream-Status: Inappropriate [musl]
7
8Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
9---
10 src/basic/missing.h | 4 ++++
11 1 file changed, 4 insertions(+)
12
13diff --git a/src/basic/missing.h b/src/basic/missing.h
14index 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--
292.11.0
30