aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/unwind-libunwind-local.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-18 10:46:11 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-19 13:01:51 -0300
commita43783aeec5fac8ef372ff8c0a5bbb3056fc0604 (patch)
treeb8c8f9f929543f1768c8a103636a38746e2bd6df /tools/perf/util/unwind-libunwind-local.c
parentperf tools: Move extra string util functions to util/string2.h (diff)
downloadlinux-dev-a43783aeec5fac8ef372ff8c0a5bbb3056fc0604.tar.xz
linux-dev-a43783aeec5fac8ef372ff8c0a5bbb3056fc0604.zip
perf tools: Include errno.h where needed
Removing it from util.h, part of an effort to disentangle the includes hell, that makes changes to util.h or something included by it to cause a complete rebuild of the tools. 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-ztrjy52q1rqcchuy3rubfgt2@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
-rw-r--r--tools/perf/util/unwind-libunwind-local.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/unwind-libunwind-local.c b/tools/perf/util/unwind-libunwind-local.c
index 788f4d3c76f5..f8455bed6e65 100644
--- a/tools/perf/util/unwind-libunwind-local.c
+++ b/tools/perf/util/unwind-libunwind-local.c
@@ -16,6 +16,7 @@
*/
#include <elf.h>
+#include <errno.h>
#include <gelf.h>
#include <fcntl.h>
#include <inttypes.h>