From f882fd15b0e665bd9da3c8edb7cddcb22b1085af Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sun, 9 Mar 2003 21:08:51 +0000 Subject: * libc/include/pwd.h: Add guards to avoid type clashes when compiling Cygwin. * libc/include/sys/stat.h: Ditto. * libc/include/sys/unistd.h: Ditto. * libc/sys/cygwin/sys/dirent.h: Ditto. --- newlib/libc/sys/cygwin/sys/dirent.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'newlib/libc/sys') diff --git a/newlib/libc/sys/cygwin/sys/dirent.h b/newlib/libc/sys/cygwin/sys/dirent.h index 411aa74b0..cecf7a85a 100644 --- a/newlib/libc/sys/cygwin/sys/dirent.h +++ b/newlib/libc/sys/cygwin/sys/dirent.h @@ -57,8 +57,10 @@ int closedir (DIR *); int dirfd (DIR *); #ifndef _POSIX_SOURCE +#ifndef __INSIDE_CYGWIN__ off_t telldir (DIR *); void seekdir (DIR *, off_t loc); +#endif int scandir (const char *__dir, struct dirent ***__namelist, -- cgit v1.2.3