From 294b585994da4427ac98a8353ff41aed5f301d54 Mon Sep 17 00:00:00 2001 From: pk33 Date: Fri, 1 Nov 2024 23:51:15 +0100 Subject: Import and fix old code --- include/musl/bits/dirent.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 include/musl/bits/dirent.h (limited to 'include/musl/bits/dirent.h') diff --git a/include/musl/bits/dirent.h b/include/musl/bits/dirent.h new file mode 100644 index 0000000..c845fe8 --- /dev/null +++ b/include/musl/bits/dirent.h @@ -0,0 +1,11 @@ +#define _DIRENT_HAVE_D_RECLEN +#define _DIRENT_HAVE_D_OFF +#define _DIRENT_HAVE_D_TYPE + +struct dirent { + ino_t d_ino; + off_t d_off; + unsigned short d_reclen; + unsigned char d_type; + char d_name[256]; +}; -- cgit v1.2.3