Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 12 Jan 2018 17:06:03 +0000
From: Rostislav Skudnov <rostislav@...era.com>
To: <musl@...ts.openwall.com>
Subject: [PATCH] Add _DIRENT_HAVE_D_* macros to dirent.h

---
 include/dirent.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/dirent.h b/include/dirent.h
index 88d3c3c..e0a8fe6 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -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;
-- 
2.1.4

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ