cpupower: Fix build error in cpufreq-info
authorShreyas B. Prabhu <shreyas@linux.vnet.ibm.com>
Mon, 18 Jan 2016 15:14:43 +0000 (20:44 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 19 Jan 2016 00:17:23 +0000 (01:17 +0100)
commit38cb76a307821f76c7f9dff7449f73aeb014d5cc
treec9f064f9b8092e5158771069d8d50189d08644fa
parente98f033f94f385a9cf498d4e9f2ac1e6198b545a
cpupower: Fix build error in cpufreq-info

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@linux.vnet.ibm.com>
Fixes: e98f033f94f3 (cpupower: fix how "cpupower frequency-info" interprets latency)
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
tools/power/cpupower/utils/cpufreq-info.c