mirror of
https://github.com/torvalds/linux.git
synced 2025-04-12 16:47:42 +00:00
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>
This commit is contained in:
parent
bbf006d6d1
commit
0c9f3a8597
@ -11,6 +11,7 @@
|
||||
#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/syscall.h>
|
||||
#include <linux/limits.h>
|
||||
|
||||
#if !defined(SYS_getdents64)
|
||||
#if defined(__x86_64__) || defined(__arm__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user