summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-version.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-20 01:57:47 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-24 18:43:33 +0200
commit7a8ef4c4b5fd5c578da4dadbcb1c5da650426c74 (patch)
tree84e400a1a819a9ff044fe4ca8eb196ab35cb490b /tools/perf/builtin-version.c
parentperf tools: Remove stale prototypes from builtin.h (diff)
downloadlinux-7a8ef4c4b5fd5c578da4dadbcb1c5da650426c74.tar.xz
linux-7a8ef4c4b5fd5c578da4dadbcb1c5da650426c74.zip
perf tools: Remove string.h, unistd.h and sys/stat.h from util.h
Not needed in this header, added to the places that need FILE, putchar(), access() and a few other prototypes. Link: http://lkml.kernel.org/n/tip-xxtdsl6nsna82j7puwbdjqhs@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-version.c')
-rw-r--r--tools/perf/builtin-version.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/builtin-version.c b/tools/perf/builtin-version.c
index b9a095b1db99..d25149456a2f 100644
--- a/tools/perf/builtin-version.c
+++ b/tools/perf/builtin-version.c
@@ -1,6 +1,7 @@
-#include "util/util.h"
#include "builtin.h"
#include "perf.h"
+#include <linux/compiler.h>
+#include <stdio.h>
int cmd_version(int argc __maybe_unused, const char **argv __maybe_unused)
{