commit | 1e1ae4a74e42de07a5654f6a1774786fb4652094 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Mon Nov 10 23:38:21 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Nov 10 23:38:21 2014 +0000 |
tree | 20e0acc3ba3f60b6dfc162c7d1ae4ffb4f4f8015 | |
parent | 6e7e2d201f91fe5a04adc1b49ebb589dc56b425f [diff] | |
parent | 1468765f8ab81ae9e32638d25c14e1f5dd35da2b [diff] |
Merge "Add align/overread tests for strlcpy/strlcat."
diff --git a/libc/include/dirent.h b/libc/include/dirent.h index a849a61..4ca3a7d 100644 --- a/libc/include/dirent.h +++ b/libc/include/dirent.h
@@ -58,6 +58,12 @@ #undef __DIRENT64_BODY +/* glibc compatibility. */ +#undef _DIRENT_HAVE_D_NAMLEN /* Linux doesn't have a d_namlen field. */ +#define _DIRENT_HAVE_D_RECLEN +#define _DIRENT_HAVE_D_OFF +#define _DIRENT_HAVE_D_TYPE + #define d_fileno d_ino typedef struct DIR DIR;