Merge "implement missing seekdir and telldir"
[android-sdk/platform-bionic.git] / libc / include / dirent.h
index 820558a77e285be08733689a17a28e3512aef47a..63716a4b7cbcd108019d4f1139ba3b7040186a72 100644 (file)
@@ -58,6 +58,12 @@ struct dirent64 { __DIRENT64_BODY };
 
 #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;