From 027bd46103b5e6a19653b216b15fe04d3a3f63bc Mon Sep 17 00:00:00 2001
From: Bruno Haible <bruno@clisp.org>
Date: Thu, 7 Jan 2010 23:19:38 +0100
Subject: [PATCH] dirent: Document the last fix.

---
 ChangeLog                     | 5 +++++
 doc/posix-headers/dirent.texi | 3 +++
 lib/dirent.in.h               | 2 +-
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 41fb383cee..9153817401 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-07  Bruno Haible  <bruno@clisp.org>
+
+	dirent: Document the last fix.
+	* doc/posix-headers/dirent.texi: Document the bug of missing 'ino_t'.
+
 2010-01-07  Bruno Haible  <bruno@clisp.org>
 
 	stdio: Ensure <stdio.h> defines off_t, ssize_t, va_list.
diff --git a/doc/posix-headers/dirent.texi b/doc/posix-headers/dirent.texi
index 3a00a536b3..439947a2a3 100644
--- a/doc/posix-headers/dirent.texi
+++ b/doc/posix-headers/dirent.texi
@@ -7,6 +7,9 @@ Gnulib module: dirent
 
 Portability problems fixed by Gnulib:
 @itemize
+@item
+The type @code{ino_t} is missing on some platforms:
+glibc 2.8 and others.
 @end itemize
 
 Portability problems not fixed by Gnulib:
diff --git a/lib/dirent.in.h b/lib/dirent.in.h
index b87f5dc013..4b02cfbcf6 100644
--- a/lib/dirent.in.h
+++ b/lib/dirent.in.h
@@ -26,7 +26,7 @@
 #ifndef _GL_DIRENT_H
 #define _GL_DIRENT_H
 
-/* Grab ino_t.  */
+/* Get ino_t.  Needed on some systems, including glibc 2.8.  */
 #include <sys/types.h>
 
 /* The definition of GL_LINK_WARNING is copied here.  */
-- 
2.30.2