From cab9f561ea78ef1e866a0639b1b5328308e8d936 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Mon, 24 Jun 2013 19:38:37 +0200 Subject: [PATCH] Add feature macros to dirent.h describing struct dirent. --- libc/include/dirent.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libc/include/dirent.h b/libc/include/dirent.h index 91878ae0..a899fad0 100644 --- a/libc/include/dirent.h +++ b/libc/include/dirent.h @@ -40,6 +40,11 @@ struct dirent char d_name[0]; }; +#undef _DIRENT_HAVE_D_NAMLEN +#define _DIRENT_HAVE_D_RECLEN +#define _DIRENT_HAVE_D_OFF +#undef _DIRENT_HAVE_D_TYPE + int alphasort(const struct dirent**, const struct dirent**); int closedir(DIR* dir); int dirfd(DIR* dir);