blob: dbaae4f39827528eba38080b4113a9a883189921 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001From aa6cd19ae428769a38fe7d95f98db0a9c19ae90a Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Mon, 25 Feb 2019 15:14:49 +0800
4Subject: [PATCH 12/24] 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_type.h | 4 ++++
11 1 file changed, 4 insertions(+)
12
13diff --git a/src/basic/missing_type.h b/src/basic/missing_type.h
14index 23602eb..7d7c1e4 100644
15--- a/src/basic/missing_type.h
16+++ b/src/basic/missing_type.h
17@@ -39,3 +39,7 @@ typedef int (*__compar_fn_t)(const void *, const void *);
18 #ifndef FTW_SKIP_SIBLINGS
19 #define FTW_SKIP_SIBLINGS 3
20 #endif
21+
22+#ifndef ULONG_LONG_MAX
23+#define ULONG_LONG_MAX ULLONG_MAX
24+#endif
25--
262.7.4
27