diff options
| author | Florian Fainelli <florian.fainelli@broadcom.com> | 2026-10-26 10:45:31 -0700 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2026-10-27 17:40:37 -0300 |
| commit | e0e4470aa53c0022418290fb551c21da4bd50209 (patch) | |
| tree | 40f322da1d32c7e776cc98957a7969b3884d88b1 /scripts/Makefile.thinlto | |
| parent | fe7b73c293f1a5b0b7d8a4748b4c076fa7db852c (diff) | |
| download | linux-e0e4470aa53c0022418290fb551c21da4bd50209.tar.gz linux-e0e4470aa53c0022418290fb551c21da4bd50209.zip | |
perf print_insn: Include sys/types.h for ssize_t
print_insn.h declares fprintf_insn_asm() with an ssize_t return type but
does not include the header defining that type. This causes builds where
stdio.h does not provide ssize_t to fail when compiling util/print_insn.c:
util/print_insn.h:21:1: error: unknown type name 'ssize_t'
Include sys/types.h so the header provides its own dependency for ssize_t.
Fixes: 218c200f677d8af4 ("perf script: Consolidate capstone print functions")
Reviewed-by: James Clark <james.clark@linaro.org>
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
