add _DIRENT_HAVE_D_* macros to dirent.h
authorRostislav Skudnov <rostislav@tuxera.com>
Fri, 12 Jan 2018 17:06:03 +0000 (17:06 +0000)
committerRich Felker <dalias@aerifal.cx>
Fri, 12 Jan 2018 19:26:59 +0000 (14:26 -0500)
include/dirent.h

index 88d3c3cfd47b6f758ffe0c580943a1cbfdfc44a5..e0a8fe6a2f47666ec46755060d38a4a4867ff353 100644 (file)
@@ -17,6 +17,10 @@ extern "C" {
 
 typedef struct __dirstream DIR;
 
+#define _DIRENT_HAVE_D_RECLEN
+#define _DIRENT_HAVE_D_OFF
+#define _DIRENT_HAVE_D_TYPE
+
 struct dirent {
        ino_t d_ino;
        off_t d_off;