From 10ffd057ca835020a8376a74f5d19c81c374ec12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Piotrowski?= Date: Mon, 11 Jul 2016 21:28:37 +0200 Subject: testing/cpupower: fix build --- testing/cpupower/nls.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'testing/cpupower/nls.patch') diff --git a/testing/cpupower/nls.patch b/testing/cpupower/nls.patch index 85398b4cda..24f5afd45f 100644 --- a/testing/cpupower/nls.patch +++ b/testing/cpupower/nls.patch @@ -43,6 +43,25 @@ index 9ea9143..24d19db 100644 /* Turn "perf cmd --help" into "perf help cmd" */ if (argc > 1 && !strcmp(argv[1], "--help")) { +diff --git a/tools/power/cpupower/utils/helpers/helpers.h b/tools/power/cpupower/utils/helpers/helpers.h +index aa9e954..261692a 100644 +--- a/tools/power/cpupower/utils/helpers/helpers.h ++++ b/tools/power/cpupower/utils/helpers/helpers.h +@@ -10,13 +10,13 @@ + #ifndef __CPUPOWERUTILS_HELPERS__ + #define __CPUPOWERUTILS_HELPERS__ + +-#include + #include + + #include "helpers/bitmask.h" + + /* Internationalization ****************************/ + #ifdef NLS ++#include + + #define _(String) gettext(String) + #ifndef gettext_noop diff --git a/tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c b/tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c index 05f953f..dec8ff9 100644 --- a/tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c -- cgit v1.2.3