diff options
| author | Seth Forshee <seth.forshee@canonical.com> | 2017-05-22 04:36:16 (GMT) |
|---|---|---|
| committer | Seth Forshee <seth.forshee@canonical.com> | 2017-11-13 13:16:52 (GMT) |
| commit | 4443d3b93af3c511e07cfc572803ebfa1f2b1c36 (patch) | |
| tree | fdd64138a5fb607720103d3c4ec96cbe490c441c /tools/perf/arch/x86/util/unwind-libunwind.c | |
| parent | 7f1d1be18bebda3929841d3c62919d583bffb3aa (diff) | |
UBUNTU: SAUCE: perf callchain: Include errno.h on x86 unconditinally
errno.h is included only if REMOTE_UNWIND_LIBUNWIND is not
defined, leading to a build error because EINVAL is undeclared.
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Diffstat (limited to 'tools/perf/arch/x86/util/unwind-libunwind.c')
| -rw-r--r-- | tools/perf/arch/x86/util/unwind-libunwind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/arch/x86/util/unwind-libunwind.c b/tools/perf/arch/x86/util/unwind-libunwind.c index 9c917f8..ebb5c3e 100644 --- a/tools/perf/arch/x86/util/unwind-libunwind.c +++ b/tools/perf/arch/x86/util/unwind-libunwind.c @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 +#include <errno.h> #ifndef REMOTE_UNWIND_LIBUNWIND -#include <errno.h> #include <libunwind.h> #include "perf_regs.h" #include "../../util/unwind.h" |
