I've just committed changes to define d_ino as the member name and d_fileno as a macro, as is done for Linux. This will be in glibc-2.2.4.