aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/time-utils.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2019-06-26 00:13:51 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-06-26 00:13:51 +0000
commitbd9860bf050f77c4e260a9ae10a5587009ad6e07 (patch)
tree65d78ec4481a3e6e97cda18ba0f40ad1f8a09f9d /tools/perf/util/time-utils.c
parenttools perf: Move from sane_ctype.h obtained from git to the Linux's original (diff)
downloadkernel-bd9860bf050f77c4e260a9ae10a5587009ad6e07.tar.gz
kernel-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 <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/time-utils.c')
-rw-r--r--tools/perf/util/time-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/time-utils.c b/tools/perf/util/time-utils.c
index 2b48816a2d2e..369fa19dd596 100644
--- a/tools/perf/util/time-utils.c
+++ b/tools/perf/util/time-utils.c
@@ -7,7 +7,7 @@
#include <errno.h>
#include <inttypes.h>
#include <math.h>
-#include <ctype.h>
+#include <linux/ctype.h>
#include "perf.h"
#include "debug.h"