summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linux/linux_dirent.h')
-rw-r--r--sys/compat/linux/linux_dirent.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_dirent.h b/sys/compat/linux/linux_dirent.h
index 5eeec661746..04e1aeaa97d 100644
--- a/sys/compat/linux/linux_dirent.h
+++ b/sys/compat/linux/linux_dirent.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_dirent.h,v 1.2 1996/04/17 05:23:43 mickey Exp $ */
+/* $OpenBSD: linux_dirent.h,v 1.3 2002/10/28 03:39:30 fgsch Exp $ */
/* $NetBSD: linux_dirent.h,v 1.3 1995/10/07 06:26:59 mycroft Exp $ */
/*
@@ -44,6 +44,14 @@ struct linux_dirent {
char d_name[LINUX_MAXNAMLEN + 1];
};
+struct linux_dirent64 {
+ linux_ino64_t d_ino;
+ linux_off64_t d_off;
+ u_short d_reclen;
+ u_char d_type;
+ char d_name[LINUX_MAXNAMLEN + 1];
+};
+
#define LINUX_NAMEOFF(dp) ((char *)&(dp)->d_name - (char *)dp)
#define LINUX_RECLEN(de,namlen) ALIGN((LINUX_NAMEOFF(de) + (namlen) + 1))