Merge "Add the glibc-compatible d_fileno."
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;