summaryrefslogtreecommitdiff
path: root/tools/perf/util/dso.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-20 02:57:47 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-24 19:43:33 +0300
commit7a8ef4c4b5fd5c578da4dadbcb1c5da650426c74 (patch)
tree84e400a1a819a9ff044fe4ca8eb196ab35cb490b /tools/perf/util/dso.c
parenta3b70b3bb34296a63b43614f13991111eccbb44a (diff)
downloadlinux-7a8ef4c4b5fd5c578da4dadbcb1c5da650426c74.tar.xz
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/util/dso.c')
-rw-r--r--tools/perf/util/dso.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/util/dso.c b/tools/perf/util/dso.c
index 3339ab7cabc5..a96a99d2369f 100644
--- a/tools/perf/util/dso.c
+++ b/tools/perf/util/dso.c
@@ -2,6 +2,9 @@
#include <linux/kernel.h>
#include <sys/time.h>
#include <sys/resource.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <unistd.h>
#include <errno.h>
#include "compress.h"
#include "path.h"