aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/dirstream.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/dirstream.h')
-rw-r--r--sysdeps/unix/dirstream.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/dirstream.h b/sysdeps/unix/dirstream.h
index d8c23959ad..72fd67c722 100644
--- a/sysdeps/unix/dirstream.h
+++ b/sysdeps/unix/dirstream.h
@@ -28,7 +28,7 @@ Cambridge, MA 02139, USA. */
The miscellaneous Unix `readdir' implementations read directory data
into a buffer and fill in a `struct dirent' copy in the `DIR' object. */
-typedef struct
+struct __dirstream
{
int __fd; /* File descriptor. */
@@ -38,7 +38,7 @@ typedef struct
size_t __size; /* Total valid data in the block. */
struct dirent __entry; /* Returned by `readdir'. */
- } DIR;
+ };
#define _DIR_dirfd(dirp) ((dirp)->__fd)