summaryrefslogtreecommitdiff
path: root/src/basic/calendarspec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/calendarspec.h')
-rw-r--r--src/basic/calendarspec.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/basic/calendarspec.h b/src/basic/calendarspec.h
index 7baf318249..4e3aa9e1d8 100644
--- a/src/basic/calendarspec.h
+++ b/src/basic/calendarspec.h
@@ -25,6 +25,8 @@
* time, a la cron */
#include <stdbool.h>
+
+#include "time-util.h"
#include "util.h"
typedef struct CalendarComponent {
@@ -36,6 +38,7 @@ typedef struct CalendarComponent {
typedef struct CalendarSpec {
int weekdays_bits;
+ bool utc;
CalendarComponent *year;
CalendarComponent *month;
@@ -43,7 +46,7 @@ typedef struct CalendarSpec {
CalendarComponent *hour;
CalendarComponent *minute;
- CalendarComponent *second;
+ CalendarComponent *microsecond;
} CalendarSpec;
void calendar_spec_free(CalendarSpec *c);