summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys/stat.h
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2003-11-26 19:15:17 +0000
committerJeff Johnston <jjohnstn@redhat.com>2003-11-26 19:15:17 +0000
commit0a707c79e9fb7f5f4d4c3ec0d21a559ba848f12a (patch)
tree89ec7be4b161c4f783a3ded1a78690485cae27b5 /newlib/libc/include/sys/stat.h
parentf25babdf0723698552fe84e82a6fccf099f505cb (diff)
downloadcygnal-0a707c79e9fb7f5f4d4c3ec0d21a559ba848f12a.tar.gz
cygnal-0a707c79e9fb7f5f4d4c3ec0d21a559ba848f12a.tar.bz2
cygnal-0a707c79e9fb7f5f4d4c3ec0d21a559ba848f12a.zip
2003-11-26 Corinna Vinschen <corinna@vinschen.de>
* libc/include/fcntl.h: Declare syscalls only when building newlib. * libc/include/unistd.h: Ditto. * libc/include/stat.h: Ditto. Also declare struct stat64.
Diffstat (limited to 'newlib/libc/include/sys/stat.h')
-rw-r--r--newlib/libc/include/sys/stat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/libc/include/sys/stat.h b/newlib/libc/include/sys/stat.h
index e22f59a5d..4749506c6 100644
--- a/newlib/libc/include/sys/stat.h
+++ b/newlib/libc/include/sys/stat.h
@@ -137,10 +137,11 @@ int _EXFUN(mknod,( const char *__path, mode_t __mode, dev_t __dev ));
/* Provide prototypes for most of the _<systemcall> names that are
provided in newlib for some compilers. */
-#ifndef __INSIDE_CYGWIN__
+#ifdef _COMPILING_NEWLIB
int _EXFUN(_fstat,( int __fd, struct stat *__sbuf ));
int _EXFUN(_stat,( const char *__path, struct stat *__sbuf ));
#ifdef __LARGE64_FILES
+struct stat64;
int _EXFUN(_fstat64,( int __fd, struct stat64 *__sbuf ));
#endif
#endif