aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-report.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-18 12:33:30 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-19 13:01:56 -0300
commit1eae20c1d40acf7676aa799b48f747d9b28bf352 (patch)
tree404b15cff6e1c5fe940d299f215e44561d5b0cdf /tools/perf/builtin-report.c
parentperf tools: Remove include dirent.h from util.h (diff)
downloadlinux-dev-1eae20c1d40acf7676aa799b48f747d9b28bf352.tar.xz
linux-dev-1eae20c1d40acf7676aa799b48f747d9b28bf352.zip
perf tools: Remove regex.h and fnmatch.h from util.h
The users of regex and fnmatch functions should include those headers instead. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-ixzm5kuamsq1ixbkuv6kmwzj@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r--tools/perf/builtin-report.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index f50738e0006e..5bbd4b2ef6d2 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -41,6 +41,7 @@
#include <dlfcn.h>
#include <errno.h>
#include <inttypes.h>
+#include <regex.h>
#include <linux/bitmap.h>
#include <linux/stringify.h>