summaryrefslogtreecommitdiff
path: root/nuttx/include/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/include/time.h')
-rw-r--r--nuttx/include/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/include/time.h b/nuttx/include/time.h
index 4b21270d9..6596bf32f 100644
--- a/nuttx/include/time.h
+++ b/nuttx/include/time.h
@@ -136,7 +136,7 @@ struct tm
int tm_mday; /* Day of the month (1-31) */
int tm_mon; /* Month (0-11) */
int tm_year; /* Years since 1900 */
-#ifdef CONFIG_LIBC_LOCALTIME
+#if defined(CONFIG_LIBC_LOCALTIME) || defined(CONFIG_TIME_EXTENDED)
int tm_wday; /* Day of the week (0-6) */
int tm_yday; /* Day of the year (0-365) */
int tm_isdst; /* Non-0 if daylight savings time is in effect */