From: Michael Jeanson Date: Thu, 5 Aug 2021 20:49:26 +0000 (-0400) Subject: fix: msgpack requires limits.h for UINT_MAX X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=030ea321c2b386d11d3b7145b1f327e32297f230;p=deliverable%2Flttng-tools.git fix: msgpack requires limits.h for UINT_MAX Building with '-Wundef' reveals this issue : unpack.c: In function ‘template_callback_array’: unpack.c:197:17: warning: "UINT_MAX" is not defined, evaluates to 0 [-Wundef] 197 | #if SIZE_MAX == UINT_MAX | ^~~~~~~~ unpack.c: In function ‘template_callback_map’: unpack.c:241:17: warning: "UINT_MAX" is not defined, evaluates to 0 [-Wundef] 241 | #if SIZE_MAX == UINT_MAX | ^~~~~~~~ Change-Id: I7dadd9f7013d613509f66e67ff1beb8ae593d2bf Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- diff --git a/src/vendor/msgpack/lttng-config.h b/src/vendor/msgpack/lttng-config.h index 073bf8da5..62258233d 100644 --- a/src/vendor/msgpack/lttng-config.h +++ b/src/vendor/msgpack/lttng-config.h @@ -8,6 +8,7 @@ #ifndef MSGPACK_LTTNG_CONFIG_H #define MSGPACK_LTTNG_CONFIG_H +#include #include #if __BYTE_ORDER == __LITTLE_ENDIAN