Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2002-05-22 15:39:07 +0400
committerCorinna Vinschen <corinna@vinschen.de>2002-05-22 15:39:07 +0400
commit2b43ad332f0e0698091497dc17c673378a1d68e4 (patch)
tree982a4a65d9d6328f175e9c9d3886d5989dd96670 /newlib/libc/include/sys
parent36f86a5537798ea6f5be20fa66d33c6d11adc1a9 (diff)
* libc/include/sys/types.h: Include cygwin/types.h always under
Cygwin, not only if _POSIX_THREADS is defined.
Diffstat (limited to 'newlib/libc/include/sys')
-rw-r--r--newlib/libc/include/sys/types.h3
1 files changed, 2 insertions, 1 deletions
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 <cygwin/types.h>
#endif
-#endif /* defined(_POSIX_THREADS) */
#endif /* defined(__rtems__) */