]> www.infradead.org Git - users/jedix/linux-maple.git/commit
libapi: Add missing header with NAME_MAX define to io_dir.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 10 Mar 2025 19:45:31 +0000 (16:45 -0300)
committerNamhyung Kim <namhyung@kernel.org>
Thu, 13 Mar 2025 07:29:36 +0000 (00:29 -0700)
commit0c9f3a8597d2536cfd4709899f4b090bf54da4ca
tree127d8d0b1bf1c52eeff053a33aa68b1b3ce223b7
parentbbf006d6d199413f856db0aab36c7da1e2febe75
libapi: Add missing header with NAME_MAX define to io_dir.h

Most systems get this indirectly, but some odd cases (some musl libc
systems) can't find it, so just add the header where NAME_MAX is defined
to avoid that.

Fixes: d118b08f7eee6d6f ("tools lib api: Add io_dir an allocation free readdir alternative")
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Link: https://lore.kernel.org/r/20250310194534.265487-2-acme@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/lib/api/io_dir.h