aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/arch
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-06-25 21:13:51 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-06-25 21:13:51 -0300
commitbd9860bf050f77c4e260a9ae10a5587009ad6e07 (patch)
tree65d78ec4481a3e6e97cda18ba0f40ad1f8a09f9d /tools/perf/arch
parenttools perf: Move from sane_ctype.h obtained from git to the Linux's original (diff)
downloadlinux-dev-bd9860bf050f77c4e260a9ae10a5587009ad6e07.tar.xz
linux-dev-bd9860bf050f77c4e260a9ae10a5587009ad6e07.zip
perf tools: Use linux/ctype.h in more places
There were a few places where we still were using the libc version of ctype.h, switch to the one in tools/lib/ctype.c that the rest of perf uses. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-wa4nz4kt61eze88eprk20tfd@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/arch')
-rw-r--r--tools/perf/arch/s390/util/header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/arch/s390/util/header.c b/tools/perf/arch/s390/util/header.c
index 3db85cd2069e..a25896135abe 100644
--- a/tools/perf/arch/s390/util/header.c
+++ b/tools/perf/arch/s390/util/header.c
@@ -11,7 +11,7 @@
#include <unistd.h>
#include <stdio.h>
#include <string.h>
-#include <ctype.h>
+#include <linux/ctype.h>
#include "../../util/header.h"
#include "../../util/util.h"