diff options
author | dt <dt@FreeBSD.org> | 1998-12-19 00:30:01 +0000 |
---|---|---|
committer | dt <dt@FreeBSD.org> | 1998-12-19 00:30:01 +0000 |
commit | c38333521ca4a466ceb5fd9343b434579dcc4ae5 (patch) | |
tree | 9a772b04e6b84acc11b2d7c07e265f3ff995c7aa /sys/sys/dirent.h | |
parent | e03090ed3781e2076d464cf8b10e4268a40c5b7a (diff) | |
download | FreeBSD-src-c38333521ca4a466ceb5fd9343b434579dcc4ae5.zip FreeBSD-src-c38333521ca4a466ceb5fd9343b434579dcc4ae5.tar.gz |
Make <sys/dirent.h> and <dirent.h> self-sufficient, using new __intN_t types.
Diffstat (limited to 'sys/sys/dirent.h')
-rw-r--r-- | sys/sys/dirent.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/sys/dirent.h b/sys/sys/dirent.h index 854ec38..33b2d7f 100644 --- a/sys/sys/dirent.h +++ b/sys/sys/dirent.h @@ -31,12 +31,14 @@ * SUCH DAMAGE. * * @(#)dirent.h 8.3 (Berkeley) 8/10/94 - * $Id: dirent.h,v 1.7 1997/02/22 09:45:02 peter Exp $ + * $Id: dirent.h,v 1.8 1997/04/10 13:54:19 bde Exp $ */ #ifndef _SYS_DIRENT_H_ #define _SYS_DIRENT_H_ +#include <machine/ansi.h> + /* * The dirent structure defines the format of directory entries returned by * the getdirentries(2) system call. @@ -49,10 +51,10 @@ */ struct dirent { - u_int32_t d_fileno; /* file number of entry */ - u_int16_t d_reclen; /* length of this record */ - u_int8_t d_type; /* file type, see below */ - u_int8_t d_namlen; /* length of string in d_name */ + __uint32_t d_fileno; /* file number of entry */ + __uint16_t d_reclen; /* length of this record */ + __uint8_t d_type; /* file type, see below */ + __uint8_t d_namlen; /* length of string in d_name */ #ifdef _POSIX_SOURCE char d_name[255 + 1]; /* name must be no longer than this */ #else |