From: Ulrich Drepper Date: Wed, 21 May 1997 01:34:06 +0000 (+0000) Subject: Don't define DIR, but __dirstream. X-Git-Tag: glibc-2.16-ports-before-merge~3605 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f754f561dedce02e4b6a87005cb532af9a27164b;p=thirdparty%2Fglibc.git Don't define DIR, but __dirstream. --- diff --git a/sysdeps/standalone/dirstream.h b/sysdeps/standalone/dirstream.h index 20c4922fb98..064513222e5 100644 --- a/sysdeps/standalone/dirstream.h +++ b/sysdeps/standalone/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,6 +38,6 @@ typedef struct size_t __size; /* Total valid data in the block. */ struct dirent __entry; /* Returned by `readdir'. */ - } DIR; + }; #endif /* dirstream.h */