Don't define DIR, but __dirstream.
authorUlrich Drepper <drepper@redhat.com>
Wed, 21 May 1997 01:34:06 +0000 (01:34 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 21 May 1997 01:34:06 +0000 (01:34 +0000)
sysdeps/standalone/dirstream.h

index 20c4922..0645132 100644 (file)
@@ -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 */