summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/generic/scandir64.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2faa12c1fc..b5e4d46508 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-08-12  Mark Kettenis  <kettenis@gnu.org>
+
+	* sysdeps/generic/scandir64.c: Include <dirent.h>.
+
 2000-08-12  Andreas Jaeger  <aj@suse.de>
 
 	* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
diff --git a/sysdeps/generic/scandir64.c b/sysdeps/generic/scandir64.c
index 0479c49ac9..fff583c7a3 100644
--- a/sysdeps/generic/scandir64.c
+++ b/sysdeps/generic/scandir64.c
@@ -16,6 +16,8 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#include <dirent.h>
+
 #define SCANDIR __scandir64
 #define READDIR __readdir64
 #define DIRENT_TYPE struct dirent64