commit | a8a3178445e8a229671977411f44c04844dcc1ab | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Jan 09 12:37:12 2014 -0800 |
committer | Elliott Hughes <enh@google.com> | Thu Jan 09 12:37:12 2014 -0800 |
tree | 4bb201cee62087a277da0dc9328597a102309244 | |
parent | c65cbf97d9769025ad83d6e7f4e7daa58a273a4c [diff] [blame] |
Add the glibc-compatible d_fileno. d_ino is the POSIX name, but glibc also offers d_fileno, and that's what strace is using. Change-Id: I3fadbe7a64700b42e78c7f4631620e864d43147b
diff --git a/libc/include/dirent.h b/libc/include/dirent.h index 3b00645..129cdfa 100644 --- a/libc/include/dirent.h +++ b/libc/include/dirent.h
@@ -53,6 +53,7 @@ unsigned char d_type; char d_name[256]; }; +#define d_fileno d_ino #define dirent64 dirent typedef struct DIR DIR;