
glibc declares some defs internally for struct dirent, _DIRENT_HAVE_D_TYPE one of them. switch_root(8) expects this to be defined to properly remove all subdirs stored in current root before switching. This fixes those annoying warnings seen with musl on the initramfs.