diff options
| author | Ian Rogers <irogers@google.com> | 2026-07-16 00:23:44 -0700 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2026-07-17 22:34:05 -0700 |
| commit | c6275783931ddb9d82a2d52e932d4e85bff5f588 (patch) | |
| tree | dfd8572b3eebd5831c40d6eb01728ab5f6d8d864 /tools/lib/python/kdoc/python_version.py | |
| parent | d5fdde1c426922efabe86a515f0782b3eba40577 (diff) | |
perf ui hists: Include limits.h for PATH_MAX definition
Looking at switch_data_file(), it uses the POSIX constant PATH_MAX.
Omitting the explicit inclusion of limits.h can cause build failures on
musl libc systems, which do not implicitly include headers in the same way
glibc does. Fix this by explicitly including <limits.h> at the top of
tools/perf/ui/browsers/hists.c.
Assisted-by: Antigravity:gemini-3.5-flash
Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
