diff options
Diffstat (limited to 'sysdeps/unix/dirstream.h')
-rw-r--r-- | sysdeps/unix/dirstream.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sysdeps/unix/dirstream.h b/sysdeps/unix/dirstream.h index 72fd67c722..52d2337125 100644 --- a/sysdeps/unix/dirstream.h +++ b/sysdeps/unix/dirstream.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1995 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1995, 1996 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -20,8 +20,7 @@ Cambridge, MA 02139, USA. */ #define _DIRSTREAM_H 1 -#define __need_size_t -#include <stddef.h> +#include <sys/types.h> /* Directory stream type. @@ -37,7 +36,7 @@ struct __dirstream size_t __offset; /* Current offset into the block. */ size_t __size; /* Total valid data in the block. */ - struct dirent __entry; /* Returned by `readdir'. */ + off_t pos; /* Position of next entry to read. */ }; #define _DIR_dirfd(dirp) ((dirp)->__fd) |