diff options
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/include/sys/types.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 9251085fe..15c3ccbe8 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,9 @@ 2002-05-22 Corinna Vinschen <vinschen@redhat.com> + * libc/include/sys/types.h: Revert previous patch. + +2002-05-22 Corinna Vinschen <vinschen@redhat.com> + * libc/include/sys/types.h: Include cygwin/types.h always under Cygwin, not only if _POSIX_THREADS is defined. diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h index 56620e190..2a12e4e34 100644 --- a/newlib/libc/include/sys/types.h +++ b/newlib/libc/include/sys/types.h @@ -329,11 +329,10 @@ typedef struct { int init_executed; /* has the initialization routine been run? */ } pthread_once_t; /* dynamic package initialization */ #else -#endif /* defined(_POSIX_THREADS) */ - #if defined (__CYGWIN__) #include <cygwin/types.h> #endif +#endif /* defined(_POSIX_THREADS) */ #endif /* defined(__rtems__) */ |