summaryrefslogtreecommitdiff
path: root/dirent/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'dirent/dirent.h')
-rw-r--r--dirent/dirent.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/dirent/dirent.h b/dirent/dirent.h
index 88a6fc867e..5b99437301 100644
--- a/dirent/dirent.h
+++ b/dirent/dirent.h
@@ -73,9 +73,9 @@ enum
#endif
-/* Get the system-dependent definition of `DIR',
- the data type of directory stream objects. */
-#include <dirstream.h>
+/* This is the data type of directory stream objects.
+ The actual structure is opaque to users. */
+typedef struct __dirstream DIR;
/* Open a directory stream on NAME.
Return a DIR stream on the directory, or NULL if it could not be opened. */