From a5f4e34a264b7cd296f8ca890ca4eaa1d0f99317 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 10 Aug 1998 15:54:54 +0000 Subject: Update. 1998-08-10 15:49 Ulrich Drepper * include/dirent.h: Protect from double inclusion. 1998-08-09 Mark Kettenis * posix/glob.h: Add LFS support for glob and globfree. * posix/Versions [GLIBC_2.1]: Add glob64 and globfree64. * posix/Makefile (routines): Add glob64. * sysdeps/generic/glob64.c: New file. * sysdeps/unix/sysv/linux/glob64.c: New file. * sysdeps/unix/sysv/linux/alpha/glob64.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/glob64.c: New file. * sysdeps/generic/glob.c [_LIBC && glob] (__glob_pattern_p): Elide function. * sysdeps/unix/sysv/linux/alpha/glob.c: Add glob64 as a weak alias for __new_glob. Likewise for globfree64. * sysdeps/unix/sysv/linux/sparc/sparc64/glob.c: New file. 1998-08-09 Andreas Schwab * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Remove -include flag from command. --- include/dirent.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/dirent.h b/include/dirent.h index 594d90d89f..58d7546c4a 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -1,4 +1,5 @@ -#include +#ifndef _DIRENT_H +# include /* Now define the internal interfaces. */ extern DIR *__opendir __P ((__const char *__name)); @@ -9,3 +10,4 @@ extern int __readdir_r __P ((DIR *__dirp, struct dirent *__entry, struct dirent **__result)); extern __ssize_t __getdirentries __P ((int __fd, char *__buf, size_t __nbytes, __off_t *__basep)); +#endif -- cgit v1.2.3