* libc/include/sys/types.h: Include cygwin/types.h always under

Cygwin, not only if _POSIX_THREADS is defined.
This commit is contained in:
Corinna Vinschen
2002-05-22 11:39:07 +00:00
parent 36f86a5537
commit 2b43ad332f
2 changed files with 7 additions and 1 deletions

View File

@ -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__) */