summaryrefslogtreecommitdiffstats
path: root/newlib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc')
-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__) */