summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/include/cygwin/stat.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 2c6196b17..fa3cfa235 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-26 Corinna Vinschen <corinna@vinschen.de>
+
+ * include/cygwin/stat.h: Allow definition of internal stat structures
+ also when compiling newlib.
+
2003-08-25 Christopher Faylor <cgf@redhat.com>
Throughout, change USE_CYGSERVER to USE_SERVER.
diff --git a/winsup/cygwin/include/cygwin/stat.h b/winsup/cygwin/include/cygwin/stat.h
index d35e1ed74..2ae7709c2 100644
--- a/winsup/cygwin/include/cygwin/stat.h
+++ b/winsup/cygwin/include/cygwin/stat.h
@@ -16,7 +16,7 @@ details. */
extern "C" {
#endif
-#ifdef __INSIDE_CYGWIN__
+#if defined (__INSIDE_CYGWIN__) || defined (_COMPILING_NEWLIB)
struct __stat32
{
__dev16_t st_dev;