summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/time.h b/time.h
index 5fede75..a584a84 100644
--- a/time.h
+++ b/time.h
@@ -121,7 +121,7 @@ struct tm {
#endif
-#if (defined _POSIX_C_SOURCE && 199309 <= _POSIX_C_SOURCE)
+#if (defined _POSIX_C_SOURCE && 199309 <= _POSIX_C_SOURCE) || (201112 <= __STDC_VERSION__)
/* ./src/time/struct_timespec.c */
#ifndef __TYPE_struct_timespec_DEFINED__
#define __TYPE_struct_timespec_DEFINED__