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~80 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=78ed487414616f34801654ca7c766213270cc323;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