summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bf20109)
raw | patch | inline | side by side (parent: bf20109)
author | Florian Forster <octo@collectd.org> | |
Tue, 14 Jul 2015 06:34:52 +0000 (08:34 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Thu, 14 Jan 2016 10:06:35 +0000 (11:06 +0100) |
EPEL5 doesn't have it in <limits.h> apparently.
src/utils_latency.c | patch | blob | history |
diff --git a/src/utils_latency.c b/src/utils_latency.c
index 62f81714987696d3fb5f6225a492ae4f73449da0..f9872669a9d89d2a6231786bde7c13cc23aacf30 100644 (file)
--- a/src/utils_latency.c
+++ b/src/utils_latency.c
#include <math.h>
#include <limits.h>
+#ifndef LLONG_MAX
+# define LLONG_MAX 9223372036854775807LL
+#endif
+
#ifndef HISTOGRAM_NUM_BINS
# define HISTOGRAM_NUM_BINS 1000
#endif