diff options
Diffstat (limited to 'src/basic/calendarspec.h')
-rw-r--r-- | src/basic/calendarspec.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/basic/calendarspec.h b/src/basic/calendarspec.h index 7baf318249..c6087228fd 100644 --- a/src/basic/calendarspec.h +++ b/src/basic/calendarspec.h @@ -1,5 +1,3 @@ -/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ - #pragma once /*** @@ -25,6 +23,8 @@ * time, a la cron */ #include <stdbool.h> + +#include "time-util.h" #include "util.h" typedef struct CalendarComponent { @@ -36,6 +36,8 @@ typedef struct CalendarComponent { typedef struct CalendarSpec { int weekdays_bits; + bool utc; + int dst; CalendarComponent *year; CalendarComponent *month; @@ -43,7 +45,7 @@ typedef struct CalendarSpec { CalendarComponent *hour; CalendarComponent *minute; - CalendarComponent *second; + CalendarComponent *microsecond; } CalendarSpec; void calendar_spec_free(CalendarSpec *c); |