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.6.0~635 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6c89e681d7e3d65d6f680a11e3a36b609363bd88;p=collectd.git 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 d570ab69..926159af 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