Re: [PATCH] cpupower: Fix build error in cpufreq-info

From: Thomas Renninger
Date: Wed Feb 17 2016 - 09:29:50 EST


On Monday, January 18, 2016 08:44:43 PM Shreyas B. Prabhu wrote:
> Fix the following build error by including limits.h -
>
> utils/cpufreq-info.c: In function âget_latencyâ:
> utils/cpufreq-info.c:437:29: error: âUINT_MAXâ undeclared (first use in
> this function)
> if (!latency || latency == UINT_MAX) {
> ^
> Signed-off-by: Shreyas B. Prabhu <shreyas@xxxxxxxxxxxxxxxxxx>

Signed-off-by: Thomas Renninger <trenn@xxxxxxxx>

Builds for me by luck, thanks!


Thomas