From 2b43ad332f0e0698091497dc17c673378a1d68e4 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 22 May 2002 11:39:07 +0000 Subject: * libc/include/sys/types.h: Include cygwin/types.h always under Cygwin, not only if _POSIX_THREADS is defined. --- newlib/libc/include/sys/types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'newlib/libc') diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h index 2a12e4e34..56620e190 100644 --- a/newlib/libc/include/sys/types.h +++ b/newlib/libc/include/sys/types.h @@ -329,10 +329,11 @@ 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 #endif -#endif /* defined(_POSIX_THREADS) */ #endif /* defined(__rtems__) */ -- cgit v1.2.3