From: Florian Forster Date: Tue, 14 Jul 2015 06:34:52 +0000 (+0200) Subject: src/utils_latency.c: Ensure that LLONG_MAX is defined. X-Git-Tag: collectd-5.5.1~6^2~2 X-Git-Url: https://git.tokkee.org/?p=collectd.git;a=commitdiff_plain;h=c1e9222b1e9212d48b1ea38d886fc4a79fcd9625 src/utils_latency.c: Ensure that LLONG_MAX is defined. EPEL5 doesn't have it in apparently. --- diff --git a/src/utils_latency.c b/src/utils_latency.c index 62f81714..f9872669 100644 --- a/src/utils_latency.c +++ b/src/utils_latency.c @@ -32,6 +32,10 @@ #include #include +#ifndef LLONG_MAX +# define LLONG_MAX 9223372036854775807LL +#endif + #ifndef HISTOGRAM_NUM_BINS # define HISTOGRAM_NUM_BINS 1000 #endif